diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2021-09-03 01:00:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-03 19:58:17 +0300 |
commit | 062db29358c9bd40d8aa9e96ce7b492b03d669d5 (patch) | |
tree | 19fa5f58be1dbd38a5578994f918834895f3843f /tools | |
parent | 65d759c8f9f57b96c199f3fe5cfb93ac7da095e9 (diff) | |
download | linux-062db29358c9bd40d8aa9e96ce7b492b03d669d5.tar.xz |
mm/mempolicy: use readable NUMA_NO_NODE macro instead of magic number
The caller of mpol_misplaced() already use NUMA_NO_NODE to check whether
current page node is misplaced, thus using NUMA_NO_NODE in
mpol_misplaced() instead of magic number is more readable.
Link: https://lkml.kernel.org/r/1b77c0ce21183fa86f4db250b115cf5e27396528.1627558356.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions