[PATCH 1/6] drivers: base: add shared buffer framework

2011-08-02 Thread Marek Szyprowski
From: Tomasz Stanislawski t.stanisl...@samsung.com This patch adds the framework for buffer sharing via a file descriptor. A driver that use shared buffer (shrbuf) can export a memory description by transforming it into a file descriptor. The reverse operation (import) is done by obtaining a

Re: [Linaro-mm-sig] [PATCH 1/6] drivers: base: add shared buffer framework

2011-08-02 Thread Clark, Rob
On Tue, Aug 2, 2011 at 4:49 AM, Marek Szyprowski m.szyprow...@samsung.com wrote: From: Tomasz Stanislawski t.stanisl...@samsung.com +/** + * shrbuf_import() - obtain shrbuf structure from a file descriptor + * @fd:        file descriptor + * + * The function obtains an instance of a