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 wrote: > From: Tomasz Stanislawski > > +/** > + * shrbuf_import() - obtain shrbuf structure from a file descriptor > + * @fd:        file descriptor > + * > + * The function obtains an instance of a  shared buffer from a file > descriptor > + * Ca

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

2011-08-02 Thread Marek Szyprowski
From: Tomasz Stanislawski 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 memory description from a