Messages in this thread | | | Date | Wed, 16 Apr 2008 09:34:14 -0500 | From | Dean Nelson <> | Subject | Re: [PATCH] generic pool allocator: allow all chunks to be allocated. |
| |
On Wed, Apr 16, 2008 at 06:33:10AM -0600, Duck wrote: > From: Bruce Schmid <duck@freescale.com> > > gen_pool_alloc() doesn't allocate the last chunk in a pool. > This patch fixes that problem by correcting the calculation > of the number of the last bit in the bitmap.
Indeed it doesn't allocate the last bit. I ran a quick test with and without your patch and your patch does fix the problem.
Acked-by: Dean Nelson <dcn@sgi.com>
| |