Re: [PATCH v2 20/23] percpu: update free path to take advantage of contig hints

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:17PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The bitmap allocator must keep metadata consistent. The easiest way is > to scan after every allocation for each affected block and the entire > chunk. This is rather

Re: [PATCH v2 20/23] percpu: update free path to take advantage of contig hints

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:17PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The bitmap allocator must keep metadata consistent. The easiest way is > to scan after every allocation for each affected block and the entire > chunk. This is rather expensive. > > The free path

[PATCH v2 20/23] percpu: update free path to take advantage of contig hints

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The bitmap allocator must keep metadata consistent. The easiest way is to scan after every allocation for each affected block and the entire chunk. This is rather expensive. The free path can take advantage of current contig hints to prevent

[PATCH v2 20/23] percpu: update free path to take advantage of contig hints

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The bitmap allocator must keep metadata consistent. The easiest way is to scan after every allocation for each affected block and the entire chunk. This is rather expensive. The free path can take advantage of current contig hints to prevent scanning within the