[PATCHv4 2/5] lib/genalloc.c: Add genpool range check function
Will Deacon
will.deacon at arm.com
Thu Jul 3 11:14:25 PDT 2014
On Wed, Jul 02, 2014 at 07:03:35PM +0100, Laura Abbott wrote:
>
> After allocating an address from a particular genpool,
> there is no good way to verify if that address actually
> belongs to a genpool. Introduce addr_in_gen_pool which
> will return if an address plus size falls completely
> within the genpool range.
>
> Signed-off-by: Laura Abbott <lauraa at codeaurora.org>
> ---
Acked-by: Will Deacon <will.deacon at arm.com>
Will
More information about the linux-arm-kernel
mailing list