mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 14:56:07 +00:00
Bug 839312 - Specify gonk low-memory-killer priorityClasses in the correct order and fix typo in b2g.js which was preventing us from giving the kernel one of the necessary priority classes. r=jlebar
This commit is contained in:
parent
5418102a77
commit
4275dc0291
@ -557,7 +557,7 @@ pref("hal.processPriorityManager.gonk.masterKillUnderMB", 1);
|
||||
pref("hal.processPriorityManager.gonk.foregroundOomScoreAdjust", 67);
|
||||
pref("hal.processPriorityManager.gonk.foregroundKillUnderMB", 4);
|
||||
pref("hal.processPriorityManager.gonk.backgroundPerceivableOomScoreAdjust", 134);
|
||||
pref("hal.processPriorityManager.gonk.backgroundPerceivebleKillUnderMB", 5);
|
||||
pref("hal.processPriorityManager.gonk.backgroundPerceivableKillUnderMB", 5);
|
||||
pref("hal.processPriorityManager.gonk.backgroundHomescreenOomScoreAdjust", 200);
|
||||
pref("hal.processPriorityManager.gonk.backgroundHomescreenKillUnderMB", 5);
|
||||
pref("hal.processPriorityManager.gonk.backgroundOomScoreAdjust", 400);
|
||||
|
@ -1050,9 +1050,9 @@ EnsureKernelLowMemKillerParamsSet()
|
||||
const char* priorityClasses[] = {
|
||||
"master",
|
||||
"foreground",
|
||||
"background",
|
||||
"backgroundPerceivable",
|
||||
"backgroundHomescreen",
|
||||
"backgroundPerceivable"
|
||||
"background"
|
||||
};
|
||||
for (size_t i = 0; i < NS_ARRAY_LENGTH(priorityClasses); i++) {
|
||||
int32_t oomScoreAdj;
|
||||
|
Loading…
x
Reference in New Issue
Block a user