]> Git Repo - linux.git/commit
memcg, kmem: further deprecate kmem.limit_in_bytes
authorShakeel Butt <[email protected]>
Fri, 5 Nov 2021 20:37:44 +0000 (13:37 -0700)
committerLinus Torvalds <[email protected]>
Sat, 6 Nov 2021 20:30:35 +0000 (13:30 -0700)
commit58056f77502f3567b760c9a8fc8d2e9081515b2d
treee7c4184164f79c5c6e33281df387b5f03d063a6e
parent16f6bf266c94017c2c4699acab64316ddc0ee77c
memcg, kmem: further deprecate kmem.limit_in_bytes

The deprecation process of kmem.limit_in_bytes started with the commit
0158115f702 ("memcg, kmem: deprecate kmem.limit_in_bytes") which also
explains in detail the motivation behind the deprecation.  To summarize,
it is the unexpected behavior on hitting the kmem limit.  This patch
moves the deprecation process to the next stage by disallowing to set
the kmem limit.  In future we might just remove the kmem.limit_in_bytes
file completely.

[[email protected]: s/ENOTSUPP/EOPNOTSUPP/]
[[email protected]: mark cancel_charge() inline]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Cc: Vasily Averin <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/admin-guide/cgroup-v1/memory.rst
mm/memcontrol.c
This page took 0.059034 seconds and 4 git commands to generate.