Skip to content

THP related code cleanup

Aneesh Kumar K.V linux-mm linuxppc-dev lkml 5 versions – New

Get series with b4
b4 am 1432271852-12949-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v53 patches 4 repliesSuperseded
  3. v43 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v31 patch3 repliesSuperseded
v22 patches6 repliesSuperseded

Changes in v6 from the cover letter

* Fix build failure on x86 with thp enabled.
* Tested on x86_64, ppc64.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/thp: Split out pmd collpase flush into a separate functionsarch/powerpc/include/asm/pgtable-ppc64.h arch/powerpc/mm/pgtable_64.c include/asm-generic/pgtable.h +1 more+67 -360 replies
2/3powerpc/mm: Use generic version of pmdp_clear_flusharch/powerpc/include/asm/pgtable-ppc64.h arch/powerpc/mm/pgtable_64.c arch/s390/include/asm/pgtable.h +2 more+27 -220 replies
3/3mm: Clarify that the function operates on hugepage ptearch/mips/include/asm/pgtable.h arch/powerpc/include/asm/pgtable-ppc64.h arch/powerpc/mm/pgtable_64.c +10 more+65 -610 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKirill A. Shutemov
1/3A-b
2/3A-b
3/3A-b

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

Read the v6 thread

Cover letter [PATCH V6 0/3] THP related code cleanup

Changes from v5:
* Fix build failure on x86 with thp enabled.
* Tested on x86_64, ppc64.

Aneesh Kumar K.V (3):
mm/thp: Split out pmd collpase flush into a separate functions powerpc/mm: Use generic version of pmdp_clear_flush
mm: Clarify that the function operates on hugepage pte

 arch/mips/include/asm/pgtable.h          |  8 ++--
 arch/powerpc/include/asm/pgtable-ppc64.h | 14 +++---
 arch/powerpc/mm/pgtable_64.c             | 73 +++++++++++++++-----------------
 arch/s390/include/asm/pgtable.h          | 30 ++++++++-----
 arch/sparc/include/asm/pgtable_64.h      |  8 ++--
 arch/tile/include/asm/pgtable.h          |  8 ++--
 arch/x86/include/asm/pgtable.h           |  4 +-
 include/asm-generic/pgtable.h            | 34 +++++++++++----
 include/linux/mmu_notifier.h             | 12 +++---
 mm/huge_memory.c                         | 18 ++++----
 mm/migrate.c                             |  2 +-
 mm/pgtable-generic.c                     | 29 +++++++++++--
 mm/rmap.c                                |  2 +-
 13 files changed, 141 insertions(+), 101 deletions(-)
Signature · 1 line
2.1.4