Re: [PATCH] generic pool allocator: allow all chunks to be allocated.
From: Dean Nelson
Date: Wed Apr 16 2008 - 10:34:24 EST
On Wed, Apr 16, 2008 at 06:33:10AM -0600, Duck wrote:
> From: Bruce Schmid <duck@xxxxxxxxxxxxx>
>
> 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@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/