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)
commitdb33ec371be8e45956e8cebb5b0fe641f008430b
tree82aa1e1d0e9dfaacfd04d41ad5215c4bf58dd3f3
parent490741ab1beb9c9f6580e30c7cd91b17a7560369
doc: cgroup: update note about conditions when oom killer is invoked

Starting from v4.19 commit 29ef680ae7c2 ("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