[PATCH Remove mlocked pages from the LRU and track them V1 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-git9 Changes: RFC->V1 - Fixup a series of issues: PageActive handling, page migration etc. - Tested on SMP and UP. Tested on: - IA64 NUMA 12p - x86_64 NUMA emulation - x86_64 SMP - x86_64 UP