Skip to content

More THP fixes

Matthew Wilcox (Oracle) linux-fsdevel linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9mm: Support THPs in zero_user_segmentsinclude/linux/highmem.h mm/highmem.c+75 -60 replies
2/9mm/page-flags: Allow accessing PageError on tail pagesinclude/linux/page-flags.h+2 -10 replies
3/9mm: Return head pages from grab_cache_page_write_beginmm/filemap.c mm/page-writeback.c+11 -30 replies
4/9mm: Replace prep_transhuge_page with thp_prepinclude/linux/huge_mm.h mm/huge_memory.c mm/khugepaged.c +3 more+28 -420 replies
5/9mm/truncate: Make invalidate_inode_pages2_range work with THPsmm/truncate.c+8 -120 replies
6/9mm/truncate: Fix invalidate_complete_page2 for THPsmm/filemap.c mm/internal.h mm/truncate.c+3 -60 replies
7/9mm/vmscan: Free non-shmem THPs without splitting themmm/vmscan.c+2 -20 replies
8/9mm: Fix THP size assumption in mem_cgroup_split_huge_fixupmm/memcontrol.c+1 -10 replies
9/9mm: Fix READ_ONLY_THP warninginclude/linux/pagemap.h+2 -20 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKirill A. ShutemovZi Yan
SeriesR-b
1/9
2/9
3/9
4/9A-b
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] More THP fixes

I'm not sure there's a common thread to this set of THP patches other than I think they're pretty uncontroversial. Maybe I'm wrong.

Matthew Wilcox (Oracle) (8):
mm: Support THPs in zero_user_segments mm/page-flags: Allow accessing PageError on tail pages
mm: Return head pages from grab_cache_page_write_begin
mm: Replace prep_transhuge_page with thp_prep mm/truncate: Make invalidate_inode_pages2_range work with THPs mm/truncate: Fix invalidate_complete_page2 for THPs mm/vmscan: Free non-shmem THPs without splitting them
mm: Fix READ_ONLY_THP warning

Zi Yan (1):
mm: Fix THP size assumption in mem_cgroup_split_huge_fixup

 include/linux/highmem.h    | 19 +++++++++---
 include/linux/huge_mm.h    |  7 +++--
 include/linux/page-flags.h |  3 +-
 include/linux/pagemap.h    |  4 +--
 mm/filemap.c               | 15 ++++++---
 mm/highmem.c               | 62 ++++++++++++++++++++++++++++++++++++--
 mm/huge_memory.c           | 12 +++++---
 mm/internal.h              |  1 +
 mm/khugepaged.c            | 12 ++------
 mm/memcontrol.c            |  2 +-
 mm/mempolicy.c             | 15 +++------
 mm/migrate.c               | 15 +++------
 mm/page-writeback.c        |  2 +-
 mm/shmem.c                 |  9 +++---
 mm/truncate.c              | 25 ++++++---------
 mm/vmscan.c                |  4 +--
 16 files changed, 132 insertions(+), 75 deletions(-)
Signature · 1 line
2.28.0