linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Remove assumptions of THP size
@ 2020-09-08 19:55 Matthew Wilcox (Oracle)
  2020-09-08 19:55 ` [PATCH 01/11] mm/filemap: Fix page cache removal for arbitrary sized THPs Matthew Wilcox (Oracle)
                   ` (10 more replies)
  0 siblings, 11 replies; 39+ messages in thread
From: Matthew Wilcox (Oracle) @ 2020-09-08 19:55 UTC (permalink / raw)
  To: linux-mm, Andrew Morton
  Cc: Matthew Wilcox (Oracle), Kirill A . Shutemov, Huang Ying

There are a number of places in the VM which assume that a THP is a PMD
in size.  That's true today, and remains true after this patch series,
but this is a prerequisite for switching to arbitrary-sized THPs.
thp_nr_pages() still returns either HPAGE_PMD_NR or 1, but will be
changed later.

Kirill A. Shutemov (2):
  mm/huge_memory: Fix total_mapcount assumption of page size
  mm/huge_memory: Fix split assumption of page size

Matthew Wilcox (Oracle) (9):
  mm/filemap: Fix page cache removal for arbitrary sized THPs
  mm/memory: Remove page fault assumption of compound page size
  mm/page_owner: Change split_page_owner to take a count
  mm/huge_memory: Fix page_trans_huge_mapcount assumption of THP size
  mm/huge_memory: Fix can_split_huge_page assumption of THP size
  mm/rmap: Fix assumptions of THP size
  mm/truncate: Fix truncation for pages of arbitrary size
  mm/page-writeback: Support tail pages in wait_for_stable_page
  mm/vmscan: Allow arbitrary sized pages to be paged out

 include/linux/page_owner.h |  6 +++---
 mm/filemap.c               |  2 +-
 mm/huge_memory.c           | 32 +++++++++++++++++---------------
 mm/memory.c                |  7 ++++---
 mm/page-writeback.c        |  1 +
 mm/page_owner.c            |  4 ++--
 mm/rmap.c                  | 10 +++++-----
 mm/truncate.c              |  6 +++---
 mm/vmscan.c                |  3 +--
 9 files changed, 37 insertions(+), 34 deletions(-)

-- 
2.28.0



^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-10-13 13:52 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 19:55 [PATCH 00/11] Remove assumptions of THP size Matthew Wilcox (Oracle)
2020-09-08 19:55 ` [PATCH 01/11] mm/filemap: Fix page cache removal for arbitrary sized THPs Matthew Wilcox (Oracle)
2020-09-09 14:27   ` Kirill A. Shutemov
2020-09-15  7:13   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 02/11] mm/memory: Remove page fault assumption of compound page size Matthew Wilcox (Oracle)
2020-09-09 14:29   ` Kirill A. Shutemov
2020-09-09 14:50     ` Matthew Wilcox
2020-09-11 14:51       ` Kirill A. Shutemov
2020-09-08 19:55 ` [PATCH 03/11] mm/page_owner: Change split_page_owner to take a count Matthew Wilcox (Oracle)
2020-09-09 14:42   ` Kirill A. Shutemov
2020-09-15  7:17   ` SeongJae Park
2020-10-13 13:52   ` Matthew Wilcox
2020-09-08 19:55 ` [PATCH 04/11] mm/huge_memory: Fix total_mapcount assumption of page size Matthew Wilcox (Oracle)
2020-09-15  7:21   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 05/11] mm/huge_memory: Fix split " Matthew Wilcox (Oracle)
2020-09-15  7:23   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 06/11] mm/huge_memory: Fix page_trans_huge_mapcount assumption of THP size Matthew Wilcox (Oracle)
2020-09-09 14:45   ` Kirill A. Shutemov
2020-09-15  7:24   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 07/11] mm/huge_memory: Fix can_split_huge_page " Matthew Wilcox (Oracle)
2020-09-09 14:46   ` Kirill A. Shutemov
2020-09-15  7:25   ` SeongJae Park
2020-09-16  1:44   ` Huang, Ying
2020-09-08 19:55 ` [PATCH 08/11] mm/rmap: Fix assumptions " Matthew Wilcox (Oracle)
2020-09-09 14:47   ` Kirill A. Shutemov
2020-09-15  7:27   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 09/11] mm/truncate: Fix truncation for pages of arbitrary size Matthew Wilcox (Oracle)
2020-09-09 14:50   ` Kirill A. Shutemov
2020-09-15  7:36   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 10/11] mm/page-writeback: Support tail pages in wait_for_stable_page Matthew Wilcox (Oracle)
2020-09-09 14:53   ` Kirill A. Shutemov
2020-09-15  7:37   ` SeongJae Park
2020-09-08 19:55 ` [PATCH 11/11] mm/vmscan: Allow arbitrary sized pages to be paged out Matthew Wilcox (Oracle)
2020-09-09 14:55   ` Kirill A. Shutemov
2020-09-15  7:40   ` SeongJae Park
2020-09-15 12:52     ` Matthew Wilcox
2020-09-16  1:40       ` Huang, Ying
2020-09-16  6:09         ` SeongJae Park
2020-09-30 12:13         ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).