VM pageout scalability improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | move isolate_lru_page() to vmscan.cinclude/ mm/ mm/ +2 more | +61 | 0 replies | |
| 2/19 | free swap space on swap-in/activationinclude/ mm/ mm/ | +26 | 0 replies | |
| 3/19 | define page_file_cache() functioninclude/ include/ mm/ +4 more | +38 | 0 replies | |
| 4/19 | debugging checks for page_file_cache()include/ mm/ | +12 | 0 replies | |
| 5/19 | Use an indexed array for LRU variablesinclude/ include/ mm/ +3 more | +109 | 0 replies | |
| 6/19 | split LRU lists into anon & file setsdrivers/ fs/ fs/ +20 more | +533 | 1 reply | |
| 7/19 | split anon & file LRUs for memcontrol codeinclude/ mm/ mm/ | +86 | 3 replies | |
| 8/19 | SEQ replacement for anonymous pagesinclude/ include/ mm/ +2 more | +92 | 0 replies | |
| 9/19 | add newly swapped in pages to the inactive listmm/ | +1 | 0 replies | |
| 10/19 | No Reclaim LRU Infrastructureinclude/ include/ include/ +9 more | +309 | 0 replies | |
| 11/19 | Non-reclaimable page statisticsdrivers/ fs/ mm/ +1 more | +30 | 0 replies | |
| 12/19 | scan noreclaim list for reclaimable pagesdrivers/ include/ kernel/ +1 more | +171 | 0 replies | |
| 13/19 | ramfs pages are non-reclaimabledrivers/ fs/ include/ +1 more | +40 | 0 replies | |
| 14/19 | SHM_LOCKED pages are nonreclaimableinclude/ include/ mm/ +1 more | +99 | 0 replies | |
| 15/19 | non-reclaimable mlocked pagesinclude/ include/ mm/ +7 more | +509 | 0 replies | |
| 16/19 | mlock vma pages under mmap_sem held for readmm/ mm/ | +64 | 0 replies | |
| 17/19 | handle mlocked pages during map/unmap and truncatemm/ mm/ mm/ +2 more | +59 | 0 replies | |
| 18/19 | account mlocked pagesdrivers/ fs/ include/ +3 more | +55 | 0 replies | |
| 19/19 | cull non-reclaimable anon pages from the LRU at fault timemm/ mm/ | +9 | 0 replies |
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by.
| Patch | KOSAKI Motohiro |
|---|---|
| 1/19 | |
| 2/19 | |
| 3/19 | |
| 4/19 | |
| 5/19 | |
| 6/19 | |
| 7/19 | |
| 8/19 | R-b |
| 9/19 | |
| 10/19 | |
| 11/19 | |
| 12/19 | |
| 13/19 | |
| 14/19 | |
| 15/19 | |
| 16/19 | |
| 17/19 | |
| 18/19 | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/19] 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.
Against 2.6.24-rc6-mm1
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 made a few small fixes to them and left out the bits that are no longer needed with split file/anon lists.
The exception is "Scan noreclaim list for reclaimable pages", which should not be needed but could be a useful debugging tool.
Signature · 1 line
All Rights Reversed