diff options
author | William Kucharski <william.kucharski@oracle.com> | 2019-10-19 05:20:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-19 12:32:32 +0200 |
commit | 906d278d75e364f2bb85dc1e1ff6265ea46e7e43 (patch) | |
tree | 0b7cfe5202d6fbf5e0191ac9eeb9fcb3af981351 /ipc | |
parent | mm/thp: fix node page state in split_huge_page_to_list() (diff) | |
download | linux-906d278d75e364f2bb85dc1e1ff6265ea46e7e43.tar.xz linux-906d278d75e364f2bb85dc1e1ff6265ea46e7e43.zip |
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/20191017164223.2762148-4-songliubraving@fb.com
Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
Signed-off-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Song Liu <songliubraving@fb.com>
Acked-by: Yang Shi <yang.shi@linux.alibaba.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions