]> Git Repo - linux.git/commit
mm/vmscan.c: support removing arbitrary sized pages from mapping
authorWilliam Kucharski <[email protected]>
Sat, 19 Oct 2019 03:20:33 +0000 (20:20 -0700)
committerLinus Torvalds <[email protected]>
Sat, 19 Oct 2019 10:32:32 +0000 (06:32 -0400)
commit906d278d75e364f2bb85dc1e1ff6265ea46e7e43
tree0b7cfe5202d6fbf5e0191ac9eeb9fcb3af981351
parent06d3eff62d9dc6f21e7ebeb14399f2542a36cdf5
mm/vmscan.c: support removing arbitrary sized pages from mapping

__remove_mapping() assumes that pages can only be either base pages or
HPAGE_PMD_SIZE.  Ask the page what size it is.

Link: http://lkml.kernel.org/r/[email protected]
Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
Signed-off-by: William Kucharski <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Acked-by: Yang Shi <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.049923 seconds and 4 git commands to generate.