mm: preemptibility -v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 82 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | powerpc: Add rcu_read_lock() to gup_fast() implementationarch/ | +3 | 26 replies | |
| 2/13 | mm: Revalidate anon_vma in page_lock_anon_vma()mm/ | +7 | 20 replies | |
| 3/13 | x86: Remove last traces of quicklist usagearch/ | +0 | 1 reply | |
| 4/13 | mm: Move anon_vma ref out from under CONFIG_KSMinclude/ mm/ mm/ | +5 | 1 reply | |
| 5/13 | mm: Make use of the anon_vma ref countinclude/ mm/ mm/ +1 more | +44 | 2 replies | |
| 6/13 | mm: Preemptible mmu_gatherfs/ include/ include/ +2 more | +53 | 4 replies | |
| 7/13 | powerpc: Preemptible mmu_gatherarch/ arch/ arch/ +6 more | +76 | 10 replies | |
| 8/13 | sparc: Preemptible mmu_gatherarch/ arch/ arch/ +2 more | +51 | 0 replies | |
| 9/13 | mm, powerpc: Move the RCU page-table freeing into generic codearch/ arch/ arch/ +5 more | +153 | 2 replies | |
| 10/13 | lockdep, mutex: Provide mutex_lock_nest_lockinclude/ include/ kernel/ | +29 | 1 reply | |
| 11/13 | mutex: Provide mutex_is_contendedinclude/ | +5 | 1 reply | |
| 12/13 | mm: Convert i_mmap_lock and anon_vma->lock to mutexesarch/ fs/ fs/ +13 more | +74 | 0 replies | |
| 13/13 | mm: Optimize page_lock_anon_vmamm/ | +67 | 3 replies |
Reviews trailers per patch
6 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Paul E. McKenney | David Miller | Rik van Riel |
|---|---|---|---|
| 1/13 | Requested-by | R-b | |
| 2/13 | R-b | ||
| 3/13 | R-b | ||
| 4/13 | R-b | ||
| 5/13 | |||
| 6/13 | |||
| 7/13 | |||
| 8/13 | |||
| 9/13 | Requested-by | ||
| 10/13 | R-b | ||
| 11/13 | R-b | ||
| 12/13 | |||
| 13/13 |
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.
Cover letter [PATCH 00/13] mm: preemptibility -v2
Hi,
This (still incomplete) patch-set makes part of the mm a lot more preemptible. It converts i_mmap_lock and anon_vma->lock to mutexes. On the way there it also makes mmu_gather 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 we 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 be wanted by KSM as well as Mel's compaction work.
This patch-set seems to build and boot on my x86_64 machines and even builds a kernel. I've also attempted powerpc and sparc, which I've compile tested with their respective defconfigs, remaining are (afaikt the rest uses the generic tlb bits):
- s390
- ia64
- arm
- superh
- um
From those, s390 and ia64 look 'interesting', arm and superh seem very similar and should be relatively easy (-rt has a patchlet for arm iirc).
What kind of performance tests would people have me run on this to satisfy their need for numbers? I've done a kernel build on x86_64 and if anything that was slightly faster with these patches, but it was well within the noise levels so it might be heat noise I'm looking at ;-)