Skip to content

mm: Preemptibility -v10

Peter Zijlstra linux-arch linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20mm: mmu_gather reworkfs/exec.c include/asm-generic/tlb.h include/linux/mm.h +2 more+107 -653 replies
2/20powerpc: mmu_gather reworkarch/powerpc/include/asm/pgalloc.h arch/powerpc/include/asm/thread_info.h arch/powerpc/include/asm/tlb.h +5 more+46 -170 replies
3/20sparc: mmu_gather reworkarch/sparc/include/asm/pgalloc_64.h arch/sparc/include/asm/pgtable_64.h arch/sparc/include/asm/tlb_64.h +3 more+63 -1160 replies
4/20s390: mmu_gather reworkarch/s390/include/asm/tlb.h+37 -250 replies
5/20arm: mmu_gather reworkarch/arm/include/asm/tlb.h+37 -160 replies
6/20sh: mmu_gather reworkarch/sh/include/asm/tlb.h+17 -110 replies
7/20ia64: mmu_gather reworkarch/ia64/include/asm/tlb.h+46 -200 replies
8/20um: mmu_gather reworkarch/um/include/asm/tlb.h+11 -180 replies
9/20mm: Now that all old mmu_gather code is gone, remove the storagearch/alpha/mm/init.c arch/arm/mm/mmu.c arch/avr32/mm/init.c +18 more+0 -410 replies
10/20mm, powerpc: Move the RCU page-table freeing into generic codearch/Kconfig arch/powerpc/Kconfig arch/powerpc/include/asm/pgalloc.h +7 more+150 -1250 replies
11/20s390: use generic RCP page-table freeingarch/s390/Kconfig arch/s390/include/asm/pgalloc.h arch/s390/include/asm/tlb.h +1 more+76 -2280 replies
12/20mm: Extended batches for generic mmu_gatherinclude/asm-generic/tlb.h+83 -462 replies
13/20lockdep, mutex: Provide mutex_lock_nest_lockinclude/linux/lockdep.h include/linux/mutex.h kernel/mutex.c+29 -82 replies
14/20mm: Remove i_mmap_lock lockbreakfs/inode.c include/linux/fs.h include/linux/mm.h +5 more+28 -1882 replies
15/20mm: Convert i_mmap_lock to a mutexDocumentation/lockstat.txt Documentation/vm/locking arch/x86/mm/hugetlbpage.c +14 more+58 -582 replies
16/20mm: Revert page_lock_anon_vma() lock annotationinclude/linux/rmap.h mm/rmap.c+2 -170 replies
17/20mm: Improve page_lock_anon_vma() commentmm/rmap.c+16 -20 replies
18/20mm: Use refcounts for page_lock_anon_vma()mm/migrate.c mm/rmap.c+31 -280 replies
19/20mm: Convert anon_vma->lock to a mutexinclude/linux/huge_mm.h include/linux/mmu_notifier.h include/linux/rmap.h +3 more+21 -252 replies
20/20mm: Optimize page_lock_anon_vma() fast-pathmm/rmap.c+82 -43 replies

Reviews trailers per patch

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

PatchKAMEZAWA HiroyukiHugh DickinsMel GormanDavid MillerNick PigginKOSAKI MotohiroTony LuckAndrew Morton
SeriesR-b A-b A-b A-b A-b
1/20R-b A-b Requested-by A-b Requested-by
2/20
3/20A-b
4/20
5/20
6/20
7/20A-b
8/20
9/20
10/20Requested-by
11/20
12/20R-b A-b Requested-by
13/20
14/20R-b
15/20A-b
16/20A-b
17/20R-b A-b A-b R-b
18/20R-b A-b R-b
19/20A-b R-b
20/20R-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 8 reviewers.

Read the v1 thread

Cover letter [PATCH 00/20] mm: Preemptibility -v10

Another -rc1, another posting.

Rework the existing mmu_gather infrastructure.

The direct purpose of these patches was to allow preemptible mmu_gather, but even without that I think these patches provide an improvement to the status quo.

The first 9 patches rework the mmu_gather infrastructure. For review purpose I've split them into generic and per-arch patches with the last of those a generic cleanup.

Also provided is a rollup of these patches, which is used as a commit in the git tree referenced below.

The next patch provides generic RCU page-table freeing, and the follow up is a patch converting s390 to use this. I've also got 4 patches from DaveM lined up (not included in this series) that uses this to implement gup_fast() for sparc64.

Then there is one patch that extends the generic mmu_gather batching.

After that follow the mm preemptibility patches, these make part of the mm a lot more preemptible. It converts i_mmap_lock and anon_vma->lock to mutexes which together with the mmu_gather rework makes mmu_gather preemptible as well.

Making i_mmap_lock a mutex also enables a clean-up of the truncate code.

This also allows for preemptible mmu_notifiers, something that XPMEM I think wants.

Furthermore, it removes the new and universially detested unmap_mutex.

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-mmu_gather.git

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>