RESTRICT AUTOMERGE: Disable file compaction by default
At present time kernel does not support shared pages to be swapped using file compaction which uses MADV_COLD and most of the file pages in a process are actually shared mappings causing us to waste a lot of cycles scanning through a lot of unreclaimable pages, this patch disables file compaction which will be reenabled until a solution is implemented on upstream kernel that allows reclaiming shared pages, thus making it worth to scan all of those pages again. Test: am compact file <processname> <uid> Bug: 265473345 Change-Id: I4c819058da229c00d1eafea636f89784718adc5f (cherry picked from commit 30b06961)
Loading
Please register or sign in to comment