Re: [PATCH 12/15] mm: Support removing arbitrary sized pages from mapping

2019-10-01 Thread Kirill A. Shutemov
On Tue, Sep 24, 2019 at 05:52:11PM -0700, Matthew Wilcox wrote: > From: William Kucharski > > __remove_mapping() assumes that pages can only be either base pages > or HPAGE_PMD_SIZE. Ask the page what size it is. You also fixes the issue CONFIG_READ_ONLY_THP_FOR_FS=y with this patch. The new

[PATCH 12/15] mm: Support removing arbitrary sized pages from mapping

2019-09-24 Thread Matthew Wilcox
From: William Kucharski __remove_mapping() assumes that pages can only be either base pages or HPAGE_PMD_SIZE. Ask the page what size it is. Signed-off-by: William Kucharski Signed-off-by: Matthew Wilcox (Oracle) --- mm/vmscan.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-)