]> git.baikalelectronics.ru Git - kernel.git/commit
doc: cgroup: update note about conditions when oom killer is invoked
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Mon, 8 Jun 2020 04:42:55 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:58 +0000 (11:05 -0700)
commit0c22589fc3c01fac558b9105cc808c3f5eddbf9d
tree82aa1e1d0e9dfaacfd04d41ad5215c4bf58dd3f3
parent519fd6235313276b2d01794670a35101ffad828e
doc: cgroup: update note about conditions when oom killer is invoked

Starting from v4.19 commit 0a2bdf700e86 ("memcg, oom: move out_of_memory
back to the charge path") cgroup oom killer is no longer invoked only
from page faults.  Now it implements the same semantics as global OOM
killer: allocation context invokes OOM killer and keeps retrying until
success.

[akpm@linux-foundation.org: fixes per Randy]

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Link: http://lkml.kernel.org/r/158894738928.208854.5244393925922074518.stgit@buzz
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/admin-guide/cgroup-v2.rst