Messages in this thread | | | Date | Mon, 21 Mar 2016 15:48:53 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH RFC 1/2] scatterlist: add mempool based chained SG alloc/free api |
| |
On Sun, Mar 20, 2016 at 11:55:17PM -0700, Ming Lin wrote: > On Wed, 2016-03-16 at 09:23 +0100, Christoph Hellwig wrote: > > > > > We can defintively kill this one. > > We want to support different size of pools. > How can we kill this one? > > Or did you mean we just create a single pool with size SG_CHUNK_SIZE?
I mean just killing the SG_MEMPOOL_NR define and using the ARRAY_SIZE directly.
> I created lib/sg_pool.c with CONFIG_SG_POOL.
Great!
| |