Re: [PATCHv3 1/5] lib/genalloc.c: Add power aligned algorithm

2014-06-29 Thread Laura Abbott
On 6/20/2014 2:33 AM, Will Deacon wrote: > Hi Laura, > > On Tue, Jun 17, 2014 at 02:39:21AM +0100, Laura Abbott wrote: >> One of the more common algorithms used for allocation >> is to align the start address of the allocation to >> the order of size requested. Add this as an algorithm >> option f

Re: [PATCHv3 1/5] lib/genalloc.c: Add power aligned algorithm

2014-06-20 Thread Will Deacon
Hi Laura, On Tue, Jun 17, 2014 at 02:39:21AM +0100, Laura Abbott wrote: > One of the more common algorithms used for allocation > is to align the start address of the allocation to > the order of size requested. Add this as an algorithm > option for genalloc. Good idea, I didn't know this even ex

[PATCHv3 1/5] lib/genalloc.c: Add power aligned algorithm

2014-06-16 Thread Laura Abbott
One of the more common algorithms used for allocation is to align the start address of the allocation to the order of size requested. Add this as an algorithm option for genalloc. Signed-off-by: Laura Abbott --- include/linux/genalloc.h | 4 lib/genalloc.c | 21 ++