lmkd: increase the soft limit for keyboard
lmkd sets the soft limit parameters for Go devices. The limit for apps in the perceptible group is set to 16M. However this limit is not sufficient for the keyboard app to prevent pages from being re-claimed quickly. The mem usage of the keyboard app is around 55M most cases with some occasional spikes to 70-80M. Increasing the limit to 64M improves the warm startup latency for keyboard. It is still lower than the limits set for foreground and visible apps. Test: Go device (1G) Bug: 117517805 Change-Id: Id50e49327cfd76126e41ef6503971845f29196af
This commit is contained in:
parent
fb7c4de612
commit
97cdd8776f
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ static void cmd_procprio(LMKD_CTRL_PACKET packet) {
|
|||
} else if (params.oomadj >= 300) {
|
||||
soft_limit_mult = 1;
|
||||
} else if (params.oomadj >= 200) {
|
||||
soft_limit_mult = 2;
|
||||
soft_limit_mult = 8;
|
||||
} else if (params.oomadj >= 100) {
|
||||
soft_limit_mult = 10;
|
||||
} else if (params.oomadj >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue