aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Maples <joe@frap129.org>2016-11-02 22:15:20 +0000
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:23 +0200
commit2b5b3ab5658de1467d060b684b7c6c04e65bf393 (patch)
treef65d873eac96501c20548da56261ef8e7220185d
parent4310889d537cf7b6f39d4f1ef07ffe3dc3f1a9d6 (diff)
UKSM: Add Governors for Higher CPU usage (HighCPU) for more merging, and low cpu usage (Battery) for less battery drain
based on https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commit/2cce6f5b6ba057c4c75d75f001d522ed79d115da ^Note the sign off at the bottom of his commit. Pretty sure he kaned one of my commits from my d2 kernel Signed-off-by: Joe Maples <joe@frap129.org>
-rw-r--r--mm/uksm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/uksm.c b/mm/uksm.c
index bf6eda378..86ede7cc9 100644
--- a/mm/uksm.c
+++ b/mm/uksm.c
@@ -530,10 +530,10 @@ struct uksm_cpu_preset_s {
* rate won't scale down as fewer pages are left to scan.
*/
struct uksm_cpu_preset_s uksm_cpu_preset[4] = {
- { {-5000, -7500, -9000, -10000}, {90000, 500, 200, 100}, 75},
- { {-5000, -6000, -7500, -10000}, {120000, 1000, 500, 250}, 20},
- { {-4000, -5000, -7500, -10000}, {180000, 2500, 1000, 500}, 15},
- { {-2500, -3500, -5000, -10000}, {300000, 4000, 2500, 1500}, 5},
+ { {-5000, -7500, -9000, -10000}, {90000, 500, 200, 100}, 18},
+ { {-5000, -6000, -7500, -10000}, {120000, 1000, 500, 250}, 12},
+ { {-5000, -6000, -7500, -10000}, {180000, 2500, 1000, 500}, 7},
+ { {-2500, -3500, -5000, -10000}, {300000, 4000, 2500, 1500}, 1},
};
/* Time per page can vary widely; ema seems to respond much better to the