mbox series

[0/9] More THP fixes

Message ID 20201026183136.10404-1-willy@infradead.org (mailing list archive)
Headers show
Series More THP fixes | expand

Message

Matthew Wilcox (Oracle) Oct. 26, 2020, 6:31 p.m. UTC
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(-)

Comments

Zi Yan Oct. 27, 2020, 2:36 p.m. UTC | #1
On 26 Oct 2020, at 14:31, Matthew Wilcox (Oracle) wrote:

> 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

They look good to me. Thanks.

Reviewed-by: Zi Yan <ziy@nvidia.com>

—
Best Regards,
Yan Zi