[PATCH 00/11] Remove assumptions of THP size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux