Merge pull request #17114 from apeeyush/fix-oom-comment

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-11-12 00:32:55 -08:00
commit 3080e7b3ca
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func isMemoryGuaranteed(container *api.Container) bool {
// GetContainerOOMAdjust returns the amount by which the OOM score of all processes in the
// container should be adjusted. The OOM score of a process is the percentage of memory it consumes
// multiplied by 100 (barring exceptional cases) + a configurable quantity which is between -1000
// multiplied by 10 (barring exceptional cases) + a configurable quantity which is between -1000
// and 1000. Containers with higher OOM scores are killed if the system runs out of memory.
// See https://lwn.net/Articles/391222/ for more information.
func GetContainerOOMScoreAdjust(container *api.Container, memoryCapacity int64) int {