Re: [PATCH 1/3] z3fold: make counters atomic

2016-10-22 Thread Vitaly Wool
On Thu, Oct 20, 2016 at 10:17 PM, Dan Streetman wrote: > On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: >> This patch converts pages_nr per-pool counter to atomic64_t. >> It also introduces a new counter, unbuddied_nr, which is >> atomic64_t, too, to track the number of unbuddied (compactab

Re: [PATCH 1/3] z3fold: make counters atomic

2016-10-20 Thread Dan Streetman
On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: > This patch converts pages_nr per-pool counter to atomic64_t. > It also introduces a new counter, unbuddied_nr, which is > atomic64_t, too, to track the number of unbuddied (compactable) > z3fold pages. > > Signed-off-by: Vitaly Wool > --- >

[PATCH 1/3] z3fold: make counters atomic

2016-10-19 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. It also introduces a new counter, unbuddied_nr, which is atomic64_t, too, to track the number of unbuddied (compactable) z3fold pages. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 33 + 1 file changed, 2

[PATCH 1/3] z3fold: make counters atomic

2016-10-13 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. It also introduces a new counter, unbuddied_nr, which is also atomic64_t, to track the number of unbuddied (shrinkable) pages, as a step to prepare for z3fold shrinker implementation. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 33 +++