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

2016-10-17 Thread Dan Streetman
On Sat, Oct 15, 2016 at 7:58 AM, Vitaly Wool wrote: > 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 implement

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

2016-10-15 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 +++