Re: [PATCH v2 14/23] percpu: replace area map allocator with bitmap allocator

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:11PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The percpu memory allocator is experiencing scalability issues when > allocating and freeing large numbers of counters as in BPF. > Additionally, there is a corner case where

Re: [PATCH v2 14/23] percpu: replace area map allocator with bitmap allocator

2017-07-25 Thread Josef Bacik
On Mon, Jul 24, 2017 at 07:02:11PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > The percpu memory allocator is experiencing scalability issues when > allocating and freeing large numbers of counters as in BPF. > Additionally, there is a corner case where iteration is triggered

[PATCH v2 14/23] percpu: replace area map allocator with bitmap allocator

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The percpu memory allocator is experiencing scalability issues when allocating and freeing large numbers of counters as in BPF. Additionally, there is a corner case where iteration is triggered over all chunks if the contig_hint is the right

[PATCH v2 14/23] percpu: replace area map allocator with bitmap allocator

2017-07-24 Thread Dennis Zhou
From: "Dennis Zhou (Facebook)" The percpu memory allocator is experiencing scalability issues when allocating and freeing large numbers of counters as in BPF. Additionally, there is a corner case where iteration is triggered over all chunks if the contig_hint is the right size, but wrong