summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliguangbo <liguangbo@huawei.com>2015-09-28 16:00:43 +0800
committerliguangbo <liguangbo@huawei.com>2015-09-28 18:18:04 +0800
commit1f39f5da141250fbc46caa7f701b36ec82ab64c1 (patch)
treea369cb5a955610ceddfcbe42fa2169b218560965
parent1c186d172e362fbfe4fff339f1f7d038ab40dd47 (diff)
Change Oom to OOM
-rw-r--r--resource-qos.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource-qos.md b/resource-qos.md
index f76a0306..52671821 100644
--- a/resource-qos.md
+++ b/resource-qos.md
@@ -149,7 +149,7 @@ Container OOM score configuration
- Hack, because these critical tasks might die if they conflict with guaranteed containers. in the future, we should place all user-pods into a separate cgroup, and set a limit on the memory they can consume.
Setting OOM_SCORE_ADJ for a container
-- Refactor existing ApplyOomScoreAdj to util/oom.go
+- Refactor existing ApplyOOMScoreAdj to util/oom.go
- To set OOM_SCORE_ADJ of a container, we loop through all processes in the container, and set OOM_SCORE_ADJ
- We keep looping until the list of processes in the container stabilizes. This is sufficient because child processes inherit OOM_SCORE_ADJ.