diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2022-05-12 20:23:00 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-05-13 07:20:14 -0700 |
commit | 1ae65e2749b0a3d236fc17d0eca5ea5f6f2c0032 (patch) | |
tree | b00635abbf3c8d1f8e96461f8553ff4372f5bd42 /drivers/pnp | |
parent | f19a27e399c4354b91d608dd77f33877f613224a (diff) | |
download | linux-stable-1ae65e2749b0a3d236fc17d0eca5ea5f6f2c0032.tar.gz linux-stable-1ae65e2749b0a3d236fc17d0eca5ea5f6f2c0032.tar.bz2 linux-stable-1ae65e2749b0a3d236fc17d0eca5ea5f6f2c0032.zip |
mm/vmscan: filter empty page_list at the beginning
node_page_list would always be !empty on finishing the loop, except
page_list is empty.
Let's handle empty page_list before doing any real work including touching
PF_MEMALLOC flag.
Link: https://lkml.kernel.org/r/20220429014426.29223-1-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 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions