Re: [PATCH v3 3/6] percpu: make pcpu_nr_empty_pop_pages per chunk type

2021-04-16 Thread Dennis Zhou
Hello, On Wed, Apr 07, 2021 at 08:57:33PM -0700, Roman Gushchin wrote: > nr_empty_pop_pages is used to guarantee that there are some free > populated pages to satisfy atomic allocations. Accounted and > non-accounted allocations are using separate sets of chunks, > so both need to have a surplus

[PATCH v3 3/6] percpu: make pcpu_nr_empty_pop_pages per chunk type

2021-04-07 Thread Roman Gushchin
nr_empty_pop_pages is used to guarantee that there are some free populated pages to satisfy atomic allocations. Accounted and non-accounted allocations are using separate sets of chunks, so both need to have a surplus of empty pages. This commit makes pcpu_nr_empty_pop_pages and the corresponding