[PATCHv4 2/5] lib/genalloc.c: Add genpool range check function

Olof Johansson olof at lixom.net
Wed Jul 9 15:33:19 PDT 2014


On Wed, Jul 2, 2014 at 11:03 AM, Laura Abbott <lauraa at codeaurora.org> 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>

Reviewed-by: Olof Johansson <olof at lixom.net>

What's the merge path for this code? Part of the arm64 code that needs
it, I presume?


-Olof



More information about the linux-arm-kernel mailing list