lowmemorykiller:
/sys/module/lowmemorykiller/parameters/minfree: 里面是以”,”分割的一组数,每个数字代表一个内存级别
1950,2250,3000,3500,5000,7500
/sys/module/lowmemorykiller/parameters/adj: 对应上面的一组数,每个数组代表一个进程优先级级别
0,58,117,176,529,882
ro.brand.lmkd.minfree="7800,9000,12000,14000,20000,30000" KB
-->mOomMinFree[i]*1024)/PAGE_SIZE
1950,2250,3000,3500,5000,7500
ro.brand.lmkd.adj="0,1,2,3,9,15"
->mOomAdj[i] * 1000) / 17
0,58,117,176,529,882
* For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and
* "1024,4096" to /sys/module/lowmemorykiller/parameters/minfree to kill
* processes with a oom_score_adj value of 8 or higher when the free memory
* drops below 4096 pages and kill processes with a oom_score_adj value of 0 or
* higher when the free memory d