diff options
author | 2022-05-12 20:23:00 -0700 | |
---|---|---|
committer | 2022-05-13 07:20:14 -0700 | |
commit | ed657e5568c5fc877c517b654d65fbdaeb628539 (patch) | |
tree | 8c8f21e931e80a05b80e85d7af8f547f37d57adb /mm/vmalloc.c | |
parent | mm/vmscan: filter empty page_list at the beginning (diff) | |
download | linux-dev-ed657e5568c5fc877c517b654d65fbdaeb628539.tar.xz linux-dev-ed657e5568c5fc877c517b654d65fbdaeb628539.zip |
mm/vmscan: don't use NUMA_NO_NODE as indicator of page on different node
Now we are sure there is at least one page on page_list, so it is safe to
get the nid of it. This means it is not necessary to use NUMA_NO_NODE as
an indicator for the beginning of iteration or a page on different node.
Link: https://lkml.kernel.org/r/20220429014426.29223-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions