Re: [PATCH v2 22/23] percpu: update pcpu_find_block_fit to use an iterator

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:19PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The simple, and expensive, way to find a free area is to iterate over > the entire bitmap until an area is found that fits the allocation size > and alignment. This patch

Re: [PATCH v2 22/23] percpu: update pcpu_find_block_fit to use an iterator

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:19PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The simple, and expensive, way to find a free area is to iterate over > the entire bitmap until an area is found that fits the allocation size > and alignment. This patch makes use of an iterate

[PATCH v2 22/23] percpu: update pcpu_find_block_fit to use an iterator

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The simple, and expensive, way to find a free area is to iterate over the entire bitmap until an area is found that fits the allocation size and alignment. This patch makes use of an iterate that find an area to check by using the block level

[PATCH v2 22/23] percpu: update pcpu_find_block_fit to use an iterator

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The simple, and expensive, way to find a free area is to iterate over the entire bitmap until an area is found that fits the allocation size and alignment. This patch makes use of an iterate that find an area to check by using the block level contig hints. It will