That might be a naive question, but I wonder if "reclaiming" a page is synonymous with swapping it to a cache partition, or just simply freeing it if it's already in a clean state in the file system. From the patchset:
When a process fails to allocate a high-order page, it may compact memory in an attempt to satisfy the allocation instead of entering direct reclaim.
And from the article:
Most memory used by the kernel directly cannot be moved - though some of it is reclaimable, meaning that it can be freed entirely on demand
The patchset author also makes the case of less reclaimed pages the selling point of the patchset, so I hope I'm not misunderstanding:
The vanilla kernel had reclaimed 105132 pages at that point. The kernel with compaction had reclaimed 59071, less than half of what the vanilla kernel reclaimed
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds