aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorLiam Mark <lmark@codeaurora.org>2015-02-27 12:59:00 -0800
committerLiam Mark <lmark@codeaurora.org>2015-02-27 13:00:33 -0800
commit137caf0a41522d35bea37ee39aa7f19334d0ff9d (patch)
tree207ae77ed647226e9014a5bfd6a0816629b33ae3 /scripts/gcc-wrapper.py
parente4e704c1ff9071ba536ca00c9027e518578344c0 (diff)
lowmemorykiller: Don't count swap cache pages twice
The lowmem_shrink function discounts all the swap cache pages from the file cache count. The zone aware code also discounts all file cache pages from a certain zone. This results in some swap cache pages being discounted twice, which can result in the low memory killer being unnecessarily aggressive. Fix the low memory killer to only discount the swap cache pages once. Change-Id: I650bbfbf0fbbabd01d82bdb3502b57ff59c3e14f Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions