Skip to content

Extend and consolidate mmu_gather into new file

Will Deacon linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5asm-generic/tlb: Guard with #ifdef CONFIG_MMUinclude/asm-generic/tlb.h+4 -00 replies
2/5asm-generic/tlb: Track freeing of page-table directories in struct mmu_gatherinclude/asm-generic/tlb.h+23 -80 replies
3/5asm-generic/tlb: Track which levels of the page tables have been clearedinclude/asm-generic/tlb.h mm/memory.c+53 -90 replies
4/5mm/memory: Move mmu_gather and TLB invalidation code into its own fileinclude/asm-generic/tlb.h mm/Makefile mm/memory.c +1 more+263 -2520 replies
5/5MAINTAINERS: Add entry for MMU GATHER AND TLB INVALIDATIONMAINTAINERS+12 -00 replies

Reviews trailers per patch

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

PatchNicholas PigginPeter Zijlstra (Intel)
1/5A-b A-b
2/5A-b
3/5A-b A-b
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Extend and consolidate mmu_gather into new file

Hi all,

This series builds on the core changes I previously posted here:

rfc: http://lists.infradead.org/pipermail/linux-arm-kernel/2018-August/597821.html
v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2018-August/598919.html

The main changes are:

* Move the mmu_gather bits out of memory.c and into their own file (looped in the mm people for this)

* Add a MAINTAINERS entry for the new file, and all tlb.h headers. If any mm developers would like to be included here as well, please just ask.

I'd like to queue these patches on their own branch in the arm64 git so that others can develop on top of them for the next merge window. Peter and Nick have both expressed an interest in that, and I already have a bunch of arm64 optimisations on top which I posted previously.

Cheers,

Will

--->8

Peter Zijlstra (2):
asm-generic/tlb: Track freeing of page-table directories in struct
mmu_gather
mm/memory: Move mmu_gather and TLB invalidation code into its own file

Will Deacon (3):
asm-generic/tlb: Guard with #ifdef CONFIG_MMU asm-generic/tlb: Track which levels of the page tables have been
cleared
MAINTAINERS: Add entry for MMU GATHER AND TLB INVALIDATION

 MAINTAINERS               |  12 +++
 include/asm-generic/tlb.h |  86 ++++++++++++---
 mm/Makefile               |   6 +-
 mm/memory.c               | 247 -------------------------------------------
 mm/mmu_gather.c           | 259 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 348 insertions(+), 262 deletions(-)
 create mode 100644 mm/mmu_gather.c
Signature · 1 line
2.1.4