diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-05-04 18:37:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-05 11:27:25 -0700 |
commit | cd7fae26024690c772ec66719735c58a12034088 (patch) | |
tree | 915b54f636e978294e1cce00cf9a88ea1c2f3c8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3e96b6a2e9ad929a3230a22f4d64a74671a0720b (diff) |
ksm: remove dedicated macro KSM_FLAG_MASK
The macro KSM_FLAG_MASK is used in rmap_walk_ksm() only. So we can
replace ~KSM_FLAG_MASK with PAGE_MASK to remove this dedicated macro and
make code more consistent because PAGE_MASK is used elsewhere in this
file.
Link: https://lkml.kernel.org/r/20210330140228.45635-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions