Skip to content

mm/mglru: Kconfig cleanup

Kinsey Ho linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] mm-mglru-remove-config_transparent_hugepage.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesApplied 5/5
  2. v30 of 4 patches 4 repliesSuperseded

Patches in v4 All 5 applied

#Subject and filesSizeRepliesApplied
1/5mm/mglru: add CONFIG_ARCH_HAS_HW_PTE_YOUNGarch/Kconfig arch/arm64/Kconfig arch/x86/Kconfig +2 more+11 -70 repliesApplied
2/5mm/mglru: add CONFIG_LRU_GEN_WALKS_MMUinclude/linux/memcontrol.h include/linux/mm_types.h include/linux/mmzone.h +3 more+139 -750 repliesApplied
3/5mm/mglru: remove CONFIG_MEMCGinclude/linux/mm_types.h include/linux/mmzone.h mm/vmscan.c+23 -740 repliesApplied
4/5mm/mglru: add dummy pmd_dirty()arch/loongarch/include/asm/pgtable.h arch/mips/include/asm/pgtable.h arch/riscv/include/asm/pgtable.h +4 more+13 -00 repliesApplied
5/5mm/mglru: remove CONFIG_TRANSPARENT_HUGEPAGEmm/vmscan.c+1 -110 repliesApplied

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchDonet TomYu Zhao
1/5T-b A-b
2/5T-b A-b
3/5T-b A-b
4/5
5/5T-b A-b

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

Read the v4 thread

Cover letter [PATCH mm-unstable v4 0/5] mm/mglru: Kconfig cleanup

This series is the result of the following discussion:
https://lore.kernel.org/[email protected]/

It mainly avoids building the code that walks page tables on CPUs that use it, i.e., those don't support hardware accessed bit. Specifically, it introduces a new Kconfig to guard some of functions added by commit bd74fdaea146 ("mm: multi-gen LRU: support page table walks") on CPUs like POWER9, on which the series was tested.
---
v4: fix kernel build bot error by adding dummy pmd_dirty()

v3: https://lore.kernel.org/[email protected]/

Kinsey Ho (5):
mm/mglru: add CONFIG_ARCH_HAS_HW_PTE_YOUNG
mm/mglru: add CONFIG_LRU_GEN_WALKS_MMU
mm/mglru: remove CONFIG_MEMCG
mm/mglru: add dummy pmd_dirty()
mm/mglru: remove CONFIG_TRANSPARENT_HUGEPAGE

 arch/Kconfig                         |   8 +
 arch/arm64/Kconfig                   |   1 +
 arch/loongarch/include/asm/pgtable.h |   1 +
 arch/mips/include/asm/pgtable.h      |   1 +
 arch/riscv/include/asm/pgtable.h     |   1 +
 arch/s390/include/asm/pgtable.h      |   1 +
 arch/sparc/include/asm/pgtable_64.h  |   1 +
 arch/x86/Kconfig                     |   1 +
 arch/x86/include/asm/pgtable.h       |   7 +-
 include/linux/memcontrol.h           |   2 +-
 include/linux/mm_types.h             |  16 +-
 include/linux/mmzone.h               |  28 +--
 include/linux/pgtable.h              |   9 +-
 kernel/fork.c                        |   2 +-
 mm/Kconfig                           |   4 +
 mm/vmscan.c                          | 271 ++++++++++++++-------------
 16 files changed, 187 insertions(+), 167 deletions(-)
Signature · 1 line
2.43.0.472.g3155946c3a-goog