[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080416143414.GA4778@sgi.com>
Date: Wed, 16 Apr 2008 09:34:14 -0500
From: Dean Nelson <dcn@....com>
To: Duck <duck@...escale.com>
Cc: linux-kernel@...r.kernel.org
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@...escale.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@....com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists