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

2014-06-29 Thread Laura Abbott
On 6/20/2014 2:38 AM, Will Deacon wrote: > On Tue, Jun 17, 2014 at 02:39:22AM +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

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

2014-06-29 Thread Laura Abbott
On 6/20/2014 2:38 AM, Will Deacon wrote: On Tue, Jun 17, 2014 at 02:39:22AM +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

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

2014-06-20 Thread Will Deacon
On Tue, Jun 17, 2014 at 02:39:22AM +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

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

2014-06-20 Thread Will Deacon
On Tue, Jun 17, 2014 at 02:39:22AM +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

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

2014-06-16 Thread Laura Abbott
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 ---

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

2014-06-16 Thread Laura Abbott
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 lau...@codeaurora.org