Centos-kernel-stream-9/Documentation/admin-guide/cgroup-v1
Rafael Aquini b7f95463a0 memcg: expose swapcache stat for memcg v1
JIRA: https://issues.redhat.com/browse/RHEL-27745
Conflicts:
  * Minor differences in the memory.rst Documentation hunk due to RHEL
    missing upstream commit b9d2a17b3290 ("docs: cgroup-v1: use bullet lists for list of stat file tables")

This patch is a backport of the following upstream commit:
commit 72a14e821cba73f74aca4bc5f768d77dece8bdb2
Author: Liu Shixin <liushixin2@huawei.com>
Date:   Fri Sep 15 18:58:44 2023 +0800

    memcg: expose swapcache stat for memcg v1

    Patch series "Expose swapcache stat for memcg v1", v2.

    Since commit b603894248 ("mm: memcg: add swapcache stat for memcg v2")
    adds swapcache stat for the cgroup v2, it seems there is no reason to hide
    it in memcg v1.  Conversely, with swapcached it is more accurate to
    evaluate the available memory for memcg.

    Link: https://lkml.kernel.org/r/20230915105845.3199656-1-liushixin2@huawei.com
    Link: https://lkml.kernel.org/r/20230915105845.3199656-2-liushixin2@huawei.com
    Signed-off-by: Liu Shixin <liushixin2@huawei.com>
    Suggested-by: Yosry Ahmed <yosryahmed@google.com>
    Acked-by: Tejun Heo <tj@kernel.org>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
    Cc: Michal Hocko <mhocko@kernel.org>
    Cc: Michal Koutný <mkoutny@suse.com>
    Cc: Zefan Li <lizefan.x@bytedance.com>
    Cc: Roman Gushchin <roman.gushchin@linux.dev>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Shakeel Butt <shakeelb@google.com>
    Cc: Muchun Song <songmuchun@bytedance.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2024-12-09 12:22:30 -05:00
..
blkio-controller.rst Documentation: admin-guide: correct spelling 2023-11-08 08:28:11 -05:00
cgroups.rst
cpuacct.rst
cpusets.rst cgroup/cpuset: Mark memory_spread_slab as obsolete 2024-09-30 09:47:00 -04:00
devices.rst
freezer-subsystem.rst
hugetlb.rst hugetlb: add hugetlb.*.numa_stat file 2022-10-12 07:27:40 -04:00
index.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
memcg_test.rst filemap: Remove add_to_page_cache() and add_to_page_cache_locked() 2023-03-24 11:19:15 -04:00
memory.rst memcg: expose swapcache stat for memcg v1 2024-12-09 12:22:30 -05:00
misc.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
net_cls.rst
net_prio.rst
pids.rst cgroup/pids: Separate semantics of pids.events related to pids.max 2024-09-30 09:47:01 -04:00
rdma.rst Documentation/admin-guide: cgroup-v1/rdma: drop doubled word 2020-07-05 14:01:48 -06:00