docs/vm: clarify overcommit amount sysctl behavior
authorAnssi Hannula <anssi.hannula@iki.fi>
Sat, 11 Dec 2021 19:41:59 +0000 (21:41 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 16 Dec 2021 22:53:22 +0000 (15:53 -0700)
commitdc10ec987903c2f6ee74a04da278a1f830fd9f3e
treec956b548e1d0f3ea0bb164dc69c432282b6c2490
parent06500926052b94ccdd75bb185c35391a72cadb57
docs/vm: clarify overcommit amount sysctl behavior

Documentation/vm/overcommit-accounting.rst says that the overcommit
amount can be set via vm.overcommit_ratio and vm.overcommit_kbytes.

Add a clarification that those only take effect in overcommit handling
mode 2 ("Don't overcommit"), i.e. they do not act as an "additional"
limit that is always enforced.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20211211194159.3137362-1-anssi.hannula@iki.fi
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/vm/overcommit-accounting.rst