diff options
author | Yang Yang <yang.yang29@zte.com.cn> | 2022-08-08 02:56:45 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 05:25:49 +0200 |
commit | e9c2dbc8bf71a5039604a1dc45b10f24a2098f3b (patch) | |
tree | 67ff96241881ed6ab53e88c2fbf40b9f7157dfb8 /fs/inode.c | |
parent | selftests: vm: add /dev/userfaultfd test cases to run_vmtests.sh (diff) | |
download | linux-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 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions