z3fold: make pages_nr atomic
authorVitaly Wool <vitalywool@gmail.com>
Fri, 24 Feb 2017 22:57:15 +0000 (14:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:54 +0000 (17:46 -0800)
commit12d59ae678242b383671abb7ffa3c94bb2d6c4de
tree10fefbc7ddf553a1399ef0fad0afd59bda0bc7d3
parent220ced1676c490c3192dd9bc1a06be86dee88a56
z3fold: make pages_nr atomic

Convert pages_nr per-pool counter to atomic64_t.

Link: http://lkml.kernel.org/r/20170131213946.b828676ab17bbea42022c213@gmail.com
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Reviewed-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/z3fold.c