Re: [PATCH v1 5/5] percpu: implement partial chunk depopulation

2021-04-05 Thread Dennis Zhou
On Thu, Apr 01, 2021 at 02:43:01PM -0700, Roman Gushchin wrote: > This patch implements partial depopulation of percpu chunks. > > As now, a chunk can be depopulated only as a part of the final > destruction, if there are no more outstanding allocations. However > to minimize a memory waste it

[PATCH v1 5/5] percpu: implement partial chunk depopulation

2021-04-01 Thread Roman Gushchin
This patch implements partial depopulation of percpu chunks. As now, a chunk can be depopulated only as a part of the final destruction, if there are no more outstanding allocations. However to minimize a memory waste it might be useful to depopulate a partially filed chunk, if a small number of