mm: Preemptibility -v6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 45 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | mm: Revert page_lock_anon_vma() lock annotationinclude/ mm/ | +2 | 1 reply | |
| 2/21 | powerpc: Use call_rcu_sched() for pagetablesarch/ | +1 | 2 replies | |
| 3/21 | mm: Improve page_lock_anon_vma() commentmm/ | +16 | 1 reply | |
| 4/21 | mm: Rename drop_anon_vma to put_anon_vmainclude/ mm/ mm/ +1 more | +10 | 1 reply | |
| 5/21 | mm: Move anon_vma ref out from under CONFIG_KSMinclude/ mm/ mm/ | +12 | 1 reply | |
| 6/21 | mm: Simplify anon_vma refcountsinclude/ mm/ mm/ +1 more | +39 | 1 reply | |
| 7/21 | mm: Use refcounts for page_lock_anon_vma()mm/ | +24 | 3 replies | |
| 8/21 | mm: Preemptible mmu_gatherfs/ include/ include/ +2 more | +53 | 2 replies | |
| 9/21 | powerpc: Preemptible mmu_gatherarch/ arch/ arch/ +5 more | +47 | 3 replies | |
| 10/21 | sparc: Preemptible mmu_gatherarch/ arch/ arch/ +2 more | +51 | 0 replies | |
| 11/21 | s390: preemptible mmu_gatherarch/ | +25 | 0 replies | |
| 12/21 | arm: Preemptible mmu_gatherarch/ | +2 | 0 replies | |
| 13/21 | sh: Preemptible mmu_gatherarch/ | +2 | 0 replies | |
| 14/21 | um: Preemptible mmu_gatherarch/ | +2 | 0 replies | |
| 15/21 | ia64: Preemptible mmu_gatherarch/ | +24 | 0 replies | |
| 16/21 | mm, powerpc: Move the RCU page-table freeing into generic codearch/ arch/ arch/ +7 more | +151 | 1 reply | |
| 17/21 | lockdep, mutex: Provide mutex_lock_nest_lockinclude/ include/ kernel/ | +29 | 0 replies | |
| 18/21 | mutex: Provide mutex_is_contendedinclude/ | +5 | 2 replies | |
| 19/21 | mm: Convert i_mmap_lock and anon_vma->lock to mutexesarch/ fs/ fs/ +15 more | +60 | 3 replies | |
| 20/21 | mm: Extended batches for generic mmu_gatherinclude/ | +82 | 1 reply | |
| 21/21 | mm: Optimize page_lock_anon_vma() fast-pathmm/ | +67 | 1 reply |
Reviews trailers per patch
10 of 21 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjamin Herrenschmidt | KOSAKI Motohiro | Mel Gorman | David Miller | Nick Piggin | KAMEZAWA Hiroyuki | Hugh Dickins |
|---|---|---|---|---|---|---|---|
| Series | A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b | ||||||
| 1/21 | |||||||
| 2/21 | A-b | ||||||
| 3/21 | R-b | A-b | R-b | ||||
| 4/21 | R-b | ||||||
| 5/21 | A-b | R-b | |||||
| 6/21 | R-b | ||||||
| 7/21 | R-b | R-b | |||||
| 8/21 | R-b | ||||||
| 9/21 | |||||||
| 10/21 | |||||||
| 11/21 | |||||||
| 12/21 | |||||||
| 13/21 | |||||||
| 14/21 | |||||||
| 15/21 | |||||||
| 16/21 | Requested-by | ||||||
| 17/21 | |||||||
| 18/21 | R-b | ||||||
| 19/21 | |||||||
| 20/21 | Requested-by | R-b | |||||
| 21/21 | R-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 7 reviewers.
Cover letter [PATCH 00/21] mm: Preemptibility -v6
This patch-set makes part of the mm a lot more preemptible. It converts i_mmap_lock and anon_vma->lock to mutexes and makes mmu_gather fully preemptible.
The main motivation was making mm_take_all_locks() preemptible, since it appears people are nesting hundreds of spinlocks there.
The side-effects are that can finally make mmu_gather preemptible, something which lots of people have wanted to do for a long time.
It also gets us anon_vma refcounting, which seems to result in a nice cleanup of the anon_vma lifetime rules wrt KSM and compaction.
This patch-set is build and boot-tested on x86_64 (a previous version was also tested on Dave's Niagra2 machines, and I suppose s390 was too when Martin provided the conversion patch for his arch).
There are no known architectures left unconverted.
Yanmin ran the -v3 posting through the comprehensive Intel test farm and didn't find any regressions.
( Not included in this posting are the 4 Sparc64 patches that implement
gup_fast, those can be applied separately after this series gets anywhere. )
The full series (including the Sparc64 gup_fast bits) also available in -git form from (against Linus' tree as of about an hour ago):
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-mmu_preempt.git
Linus seems to want this to get some serious review and be pushed through Andrew (well, anybody but me actually, but since Andrew is mm master...)
Ben, Thomas, Andrew, can I trick you guys into looking at this stuff?
--
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 policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>