]> git.baikalelectronics.ru Git - kernel.git/commit
doc, mm: sync up oom_score_adj documentation
authorMichal Hocko <mhocko@suse.com>
Wed, 12 Aug 2020 01:31:25 +0000 (18:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:56 +0000 (10:57 -0700)
commite2ab54de5f21d069eae5877c9c5ab99a450bbb8f
treec27c7032191958fcb9e12d7bfd2a00c5e9522152
parenta9a2eb2f5df880b76dcf25e6053b30cf7d216c89
doc, mm: sync up oom_score_adj documentation

There are at least two notes in the oom section.  The 3% discount for root
processes is gone since f9ba724fe86e ("mm, oom: remove 3% bonus for
CAP_SYS_ADMIN processes").

Likewise children of the selected oom victim are not sacrificed since
96a825e18b02 ("mm, oom: remove 'prefer children over parent' heuristic")

Drop both of them.

Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: David Rientjes <rientjes@google.com>
Cc: Yafang Shao <laoar.shao@gmail.com>
Link: http://lkml.kernel.org/r/20200709062603.18480-1-mhocko@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/proc.rst