summaryrefslogtreecommitdiffstats
path: root/mm/zsmalloc.c
diff options
context:
space:
mode:
authorYang Yang <yang.yang29@zte.com.cn>2022-08-08 02:56:45 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 05:25:49 +0200
commite9c2dbc8bf71a5039604a1dc45b10f24a2098f3b (patch)
tree67ff96241881ed6ab53e88c2fbf40b9f7157dfb8 /mm/zsmalloc.c
parentselftests: vm: add /dev/userfaultfd test cases to run_vmtests.sh (diff)
downloadlinux-e9c2dbc8bf71a5039604a1dc45b10f24a2098f3b.tar.xz
linux-e9c2dbc8bf71a5039604a1dc45b10f24a2098f3b.zip
mm/vmscan: define macros for refaults in struct lruvec
The magic number 0 and 1 are used in several places in vmscan.c. Define macros for them to improve code readability. Link: https://lkml.kernel.org/r/20220808005644.1721066-1-yang.yang29@zte.com.cn Signed-off-by: Yang Yang <yang.yang29@zte.com.cn> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions