RFC Move mlocked pages off the LRU and track them
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Make try_to_unmap return a special exit codeinclude/ mm/ mm/ | +17 | 0 replies | |
| 2/7 | Add PageMlocked() page state bit and lru infrastructureinclude/ include/ include/ +1 more | +59 | 0 replies | |
| 3/7 | Add NR_MLOCK ZVCdrivers/ fs/ include/ +1 more | +6 | 0 replies | |
| 4/7 | Logic to move mlocked pagesmm/ mm/ mm/ +1 more | +35 | 0 replies | |
| 5/7 | Consolidate new anonymous page code pathsmm/ | +15 | 0 replies | |
| 6/7 | Avoid putting new mlocked anonymous pages on LRUmm/ | +9 | 0 replies | |
| 7/7 | Opportunistically move mlocked pages off the LRUmm/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/7] Move mlocked pages off the LRU and track them
[RFC] Remove mlocked pages from the LRU and track them
The patchset removes mlocked pages from the LRU and maintains a counter for the number of discovered mlocked pages.
This is a lazy scheme for accounting for mlocked pages. The pages may only be discovered to be mlocked during reclaim. However, we attempt to detect mlocked pages at various other opportune moments. So in general the mlock counter is not far off the number of actual mlocked pages in the system.
Patch against 2.6.20-rc6-mm3
Known problems to be resolved:
- Page state bit used to mark a page mlocked is not available on i386 with NUMA.
- Note tested on SMP, UP. Need to catch a plane in 2 hours.
Tested on:
IA64 NUMA 12p
--
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>