VM pageout scalability improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 38 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | convert anon_vma list lock a read/write lockinclude/ mm/ mm/ +1 more | +20 | 1 reply | |
| 2/20 | make the inode i_mmap_lock a reader/writer lockarch/ fs/ fs/ +13 more | +115 | 13 replies | |
| 3/20 | move isolate_lru_page() to vmscan.cinclude/ mm/ mm/ +2 more | +61 | 1 reply | |
| 4/20 | free swap space on swap-in/activationinclude/ mm/ mm/ | +26 | 0 replies | |
| 5/20 | define page_file_cache() functioninclude/ include/ mm/ +4 more | +38 | 0 replies | |
| 6/20 | debugging checks for page_file_cache()include/ mm/ | +12 | 0 replies | |
| 7/20 | Use an indexed array for LRU variablesinclude/ include/ mm/ +3 more | +109 | 0 replies | |
| 8/20 | split LRU lists into anon & file setsdrivers/ fs/ fs/ +20 more | +532 | 0 replies | |
| 9/20 | split anon & file LRUs for memcontrol codeinclude/ mm/ mm/ | +81 | 0 replies | |
| 10/20 | SEQ replacement for anonymous pagesinclude/ include/ mm/ +2 more | +82 | 3 replies | |
| 11/20 | add newly swapped in pages to the inactive listmm/ | +1 | 0 replies | |
| 12/20 | No Reclaim LRU Infrastructureinclude/ include/ include/ +9 more | +301 | 0 replies | |
| 13/20 | Non-reclaimable page statisticsdrivers/ fs/ mm/ +1 more | +30 | 0 replies | |
| 14/20 | Scan noreclaim list for reclaimable pagesdrivers/ include/ kernel/ +1 more | +171 | 0 replies | |
| 15/20 | ramfs pages are non-reclaimablefs/ include/ mm/ | +27 | 0 replies | |
| 16/20 | SHM_LOCKED pages are nonreclaimableinclude/ include/ mm/ +1 more | +98 | 0 replies | |
| 17/20 | non-reclaimable mlocked pagesinclude/ include/ mm/ +7 more | +483 | 15 replies | |
| 18/20 | mlock vma pages under mmap_sem held for readmm/ mm/ | +64 | 0 replies | |
| 19/20 | handle mlocked pages during map/unmap and truncatemm/ mm/ mm/ +2 more | +59 | 0 replies | |
| 20/20 | account mlocked pagesdrivers/ fs/ include/ +2 more | +52 | 0 replies |
Reviews trailers per patch
2 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Lameter |
|---|---|
| 1/20 | R-b |
| 2/20 | |
| 3/20 | R-b |
| 4/20 | |
| 5/20 | |
| 6/20 | |
| 7/20 | |
| 8/20 | |
| 9/20 | |
| 10/20 | |
| 11/20 | |
| 12/20 | |
| 13/20 | |
| 14/20 | |
| 15/20 | |
| 16/20 | |
| 17/20 | |
| 18/20 | |
| 19/20 | |
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/20] VM pageout scalability improvements
On large memory systems, the VM can spend way too much time scanning through pages that it cannot (or should not) evict from memory. Not only does it use up CPU time, but it also provokes lock contention and can leave large systems under memory presure in a catatonic state.
This patch series improves VM scalability by:
1) making the locking a little more scalable
2) putting filesystem backed, swap backed and non-reclaimable pages onto their own LRUs, so the system only scans the pages that it can/should evict from memory
3) switching to SEQ replacement for the anonymous LRUs, so the number of pages that need to be scanned when the system starts swapping is bound to a reasonable number
The noreclaim patches come verbatim from Lee Schermerhorn and Nick Piggin. I have not taken a detailed look at them yet and all I have done is fix the rejects against the latest -mm kernel.
I am posting this series now because I would like to get more feedback, while I am studying and improving the noreclaim patches myself.
Signature · 7 lines
All Rights Reversed -- 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>