always lock the root anon_vma
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 34 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | rename anon_vma_lock to vma_lock_anon_vmainclude/ mm/ | +9 | 2 replies | |
| 1/5 | rename anon_vma_lock to vma_lock_anon_vmainclude/ mm/ | +9 | 4 replies | |
| 2/5 | change direct call of spin_lock(anon_vma->lock) to inline functioninclude/ mm/ mm/ +1 more | +30 | 2 replies | |
| 2/5 | change direct call of spin_lock(anon_vma->lock) to inline functioninclude/ mm/ mm/ +2 more | +32 | 0 replies | |
| 3/5 | track the root (oldest) anon_vmainclude/ mm/ | +18 | 5 replies | |
| 3/5 | track the root (oldest) anon_vmainclude/ mm/ | +17 | 0 replies | |
| 4/5 | always lock the root (oldest) anon_vmainclude/ mm/ mm/ | +10 | 6 replies | |
| 4/5 | always lock the root (oldest) anon_vmainclude/ mm/ mm/ | +20 | 8 replies | |
| 4/5 | always lock the root (oldest) anon_vmainclude/ mm/ mm/ +1 more | +28 | 0 replies | |
| 5/5 | extend KSM refcounts to the anon_vma rootinclude/ mm/ mm/ | +62 | 5 replies | |
| 5/5 | extend KSM refcounts to the anon_vma rootinclude/ mm/ mm/ | +62 | 1 reply | |
| 5/5 | extend KSM refcounts to the anon_vma rootinclude/ mm/ mm/ +1 more | +68 | 0 replies |
Reviews trailers per patch
6 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mel Gorman | KAMEZAWA Hiroyuki | Rik van Riel |
|---|---|---|---|
| Series | R-b | ||
| 1/5 | A-b | A-b | |
| 1/5 | A-b | A-b | |
| 2/5 | A-b | A-b | |
| 2/5 | A-b | A-b | |
| 3/5 | A-b | A-b | |
| 3/5 | A-b | A-b | |
| 4/5 | |||
| 4/5 | |||
| 4/5 | |||
| 5/5 | |||
| 5/5 | |||
| 5/5 |
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 0/5] always lock the root anon_vma
This patch series implements Linus's suggestion of always locking the root anon_vma. Because the lock in other anon_vmas no longer protects anything at all, we cannot do the "lock dance" that Mel's earlier patches implements and instead need a root pointer in the anon_vma.
The only subtlety these patches rely on is that the same_vma list is ordered from new to old, with the root anon_vma at the very end.
This, together with the forward list walking in unlink_anon_vmas, ensures that the root anon_vma is the last one freed.
The KSM refcount adds some additional complexity, because an anon_vma can stick around after the processes it was attached to have already exited. Patch 5/5 deals with that issue.
--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>