Enable the memory_recursiveprot mount option
Enable the memory_recursiveprot mount option for v2 cgroups because the v2 memcg documentation mentions the following: "Recursively apply memory.min and memory.low protection to entire subtrees, without requiring explicit downward propagation into leaf cgroups. This allows protecting entire subtrees from one another, while retaining free competition within those subtrees. This should have been the default behavior but is a mount-option to avoid regressing setups relying on the original semantics (e.g. specifying bogusly high 'bypass' protection values at higher tree levels)." Source: https://www.kernel.org/doc/Documentation/admin-guide/cgroup-v2.rst Bug: 213617178 Test: Verified this change inside the Cuttlefish emulator. Change-Id: Iecd86109d9ecb9d3354f9d28577b147edf7c50a8 Signed-off-by:Bart Van Assche <bvanassche@google.com>
Loading
Please register or sign in to comment