aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-03-22 21:44:50 +0000
committerLinus Torvalds <[email protected]>2022-03-22 22:57:07 +0000
commitbf6445bc8f778590ac754b06a8fe82ce5a9f818a (patch)
tree82281f9f7d16d986d8ddf9a926d52455ecedb5d9 /mm/sparse-vmemmap.c
parentmm/memory-failure.c: avoid calling invalidate_inode_page() with unexpected pages (diff)
downloadkernel-bf6445bc8f778590ac754b06a8fe82ce5a9f818a.tar.gz
kernel-bf6445bc8f778590ac754b06a8fe82ce5a9f818a.zip
mm/memory-failure.c: make non-LRU movable pages unhandlable
We can not really handle non-LRU movable pages in memory failure. Typically they are balloon, zsmalloc, etc. Assuming we run into a base (4K) non-LRU movable page, we could reach as far as identify_page_state(), it should not fall into any category except me_unknown. For the non-LRU compound movable pages, they could be taken for transhuge pages but it's unexpected to split non-LRU movable pages using split_huge_page_to_list in memory_failure. So we could just simply make non-LRU movable pages unhandlable to avoid these possible nasty cases. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Suggested-by: Yang Shi <[email protected]> Reviewed-by: Yang Shi <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Tony Luck <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions