|
@@ -1386,8 +1386,8 @@ may allocate from based on an estimation of its current memory and swap use.
|
|
For example, if a task is using all allowed memory, its badness score will be
|
|
For example, if a task is using all allowed memory, its badness score will be
|
|
1000. If it is using half of its allowed memory, its score will be 500.
|
|
1000. If it is using half of its allowed memory, its score will be 500.
|
|
|
|
|
|
-There is an additional factor included in the badness score: root
|
|
|
|
-processes are given 3% extra memory over other tasks.
|
|
|
|
|
|
+There is an additional factor included in the badness score: the current memory
|
|
|
|
+and swap usage is discounted by 3% for root processes.
|
|
|
|
|
|
The amount of "allowed" memory depends on the context in which the oom killer
|
|
The amount of "allowed" memory depends on the context in which the oom killer
|
|
was called. If it is due to the memory assigned to the allocating task's cpuset
|
|
was called. If it is due to the memory assigned to the allocating task's cpuset
|