OpenCloudOS-Kernel/Documentation/admin-guide/cgroup-v1
Shakeel Butt 58056f7750 memcg, kmem: further deprecate kmem.limit_in_bytes
The deprecation process of kmem.limit_in_bytes started with the commit
0158115f70 ("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.

[akpm@linux-foundation.org: s/ENOTSUPP/EOPNOTSUPP/]
[arnd@arndb.de: mark cancel_charge() inline]
  Link: https://lkml.kernel.org/r/20211022070542.679839-1-arnd@kernel.org

Link: https://lkml.kernel.org/r/20211019153408.2916808-1-shakeelb@google.com
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Roman Gushchin <guro@fb.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Vasily Averin <vvs@virtuozzo.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-06 13:30:35 -07:00
..
blkio-controller.rst docs/cgroup-v1/blkio: update for 5.x kernels 2021-06-16 11:32:03 -06:00
cgroups.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
cpuacct.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
cpusets.rst mm/doc: editorial pass on page migration 2020-09-09 11:39:46 -06:00
devices.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
freezer-subsystem.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
hugetlb.rst hugetlb_cgroup: add hugetlb_cgroup reservation docs 2020-04-02 09:35:32 -07:00
index.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
memcg_test.rst mm/lru: revise the comments of lru_lock 2020-12-15 14:48:04 -08:00
memory.rst memcg, kmem: further deprecate kmem.limit_in_bytes 2021-11-06 13:30:35 -07:00
misc.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
net_cls.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
net_prio.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
pids.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
rdma.rst Documentation/admin-guide: cgroup-v1/rdma: drop doubled word 2020-07-05 14:01:48 -06:00