Skip to content

mm: Get rid of vmalloc_sync_(un)mappings()

Joerg Roedel linux-acpi linux-arch linux-mm lkml 3 versions – Applied

Status from this message: [merged] x86-mm-remove-vmalloc-faulting.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 10 repliesApplied 7/7
  2. v27 patches 4 repliesSuperseded
  3. v1 RFC7 patches 29 repliesSuperseded

Patches in v3 All 7 applied

#Subject and filesSizeRepliesApplied
1/7mm: Add functions to track page directory modificationsinclude/asm-generic/5level-fixup.h include/asm-generic/pgtable.h include/linux/mm.h+72 -24 repliesApplied
2/7mm/vmalloc: Track which page-table levels were modifiedinclude/linux/vmalloc.h mm/vmalloc.c+80 -245 repliesApplied
3/7mm/ioremap: Track which page-table levels were modifiedlib/ioremap.c+31 -150 repliesApplied
4/7x86/mm/64: Implement arch_sync_kernel_mappings()arch/x86/include/asm/pgtable_64_types.h arch/x86/mm/init_64.c+7 -00 repliesApplied
5/7x86/mm/32: Implement arch_sync_kernel_mappings()arch/x86/include/asm/pgtable-2level_types.h arch/x86/include/asm/pgtable-3level_types.h arch/x86/mm/fault.c+20 -90 repliesApplied
6/7mm: Remove vmalloc_sync_(un)mappings()arch/x86/mm/fault.c drivers/acpi/apei/ghes.c include/linux/vmalloc.h +4 more+0 -910 repliesApplied
7/7x86/mm: Remove vmalloc faultingarch/x86/include/asm/switch_to.h arch/x86/kernel/setup_percpu.c arch/x86/mm/fault.c +2 more+4 -2040 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy LutomirskiSteven Rostedt (VMware)Peter Zijlstra (Intel)
SeriesA-b
1/7A-b
2/7A-b A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b T-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/7] mm: Get rid of vmalloc_sync_(un)mappings()

Hi,

here is the updated version of this series with these changes:

- Removed sync_current_stack_to_mm() too.

- Added Acked-by's from Andy Lutomirski

The previous versions can be found here:

	v1: https://lore.kernel.org/lkml/[email protected]/

	v2: https://lore.kernel.org/lkml/[email protected]/

The cover-letter of v1 has more details on the motivation for this patch-set.

Please review.

Regards,

Joerg

Joerg Roedel (7):
mm: Add functions to track page directory modifications mm/vmalloc: Track which page-table levels were modified mm/ioremap: Track which page-table levels were modified x86/mm/64: Implement arch_sync_kernel_mappings() x86/mm/32: Implement arch_sync_kernel_mappings()
mm: Remove vmalloc_sync_(un)mappings()
x86/mm: Remove vmalloc faulting

 arch/x86/include/asm/pgtable-2level_types.h |   2 +
 arch/x86/include/asm/pgtable-3level_types.h |   2 +
 arch/x86/include/asm/pgtable_64_types.h     |   2 +
 arch/x86/include/asm/switch_to.h            |  23 ---
 arch/x86/kernel/setup_percpu.c              |   6 +-
 arch/x86/mm/fault.c                         | 176 +-------------------
 arch/x86/mm/init_64.c                       |   5 +
 arch/x86/mm/pti.c                           |   8 +-
 arch/x86/mm/tlb.c                           |  37 ----
 drivers/acpi/apei/ghes.c                    |   6 -
 include/asm-generic/5level-fixup.h          |   5 +-
 include/asm-generic/pgtable.h               |  23 +++
 include/linux/mm.h                          |  46 +++++
 include/linux/vmalloc.h                     |  18 +-
 kernel/notifier.c                           |   1 -
 kernel/trace/trace.c                        |  12 --
 lib/ioremap.c                               |  46 +++--
 mm/nommu.c                                  |  12 --
 mm/vmalloc.c                                | 109 +++++++-----
 19 files changed, 204 insertions(+), 335 deletions(-)
Signature · 1 line
2.17.1