diff options
| author | 2023-01-13 22:24:33 +0000 | |
|---|---|---|
| committer | 2023-03-16 21:10:58 +0000 | |
| commit | 854e613a67a8de0921f1dedd2e711ba2dd74087f (patch) | |
| tree | 8913a1c7f45d32e3ba3594ec60ada6b022aa0a5f /wifi/java/src | |
| parent | 3ac452b39d9d6606517c7347adabbd3dc8ce3448 (diff) | |
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 30b069612a9d35b02cc6c2656c18326e8cffeec6)
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions