Skip to content

mm: Preemptibility -v9

Peter Zijlstra linux-arch linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lockdep, mutex: Provide mutex_lock_nest_lockinclude/linux/lockdep.h include/linux/mutex.h kernel/mutex.c+29 -80 replies
2/8mm: Remove i_mmap_lock lockbreakfs/inode.c include/linux/fs.h include/linux/mm.h +5 more+28 -1890 replies
3/8mm: Convert i_mmap_lock to a mutexDocumentation/lockstat.txt Documentation/vm/locking arch/x86/mm/hugetlbpage.c +14 more+58 -580 replies
4/8mm: Revert page_lock_anon_vma() lock annotationinclude/linux/rmap.h mm/rmap.c+2 -170 replies
5/8mm: Improve page_lock_anon_vma() commentmm/rmap.c+16 -20 replies
6/8mm: Use refcounts for page_lock_anon_vma()mm/migrate.c mm/rmap.c+31 -280 replies
7/8mm: Convert anon_vma->lock to a mutexinclude/linux/huge_mm.h include/linux/mmu_notifier.h include/linux/rmap.h +3 more+21 -250 replies
8/8mm: Optimize page_lock_anon_vma() fast-pathmm/rmap.c+82 -40 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchKAMEZAWA HiroyukiHugh DickinsKOSAKI MotohiroMel Gorman
1/8
2/8R-b
3/8A-b
4/8A-b
5/8R-b A-b R-b A-b
6/8R-b A-b R-b
7/8A-b R-b
8/8R-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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] mm: Preemptibility -v9

This series depends on the previous two series:
- mm: Simplify anon_vma lifetime rules (merged by akpm)
- mm: mmu_gather rework

These patches 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.

--
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>