All of lore.kernel.org
 help / color / mirror / Atom feed
* + cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc.patch added to mm-unstable branch
@ 2025-03-19  2:25 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-03-19  2:25 UTC (permalink / raw)
  To: mm-commits, tj, shakeel.butt, roman.gushchin, muchun.song,
	mkoutny, mhocko, hannes, corbet, jiahao1, akpm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2848 bytes --]


The patch titled
     Subject: cgroup: docs: add pswpin and pswpout items in cgroup v2 doc
has been added to the -mm mm-unstable branch.  Its filename is
     cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Hao Jia <jiahao1@lixiang.com>
Subject: cgroup: docs: add pswpin and pswpout items in cgroup v2 doc
Date: Tue, 18 Mar 2025 15:58:33 +0800

The commit 15ff4d409e1a ("mm/memcontrol: add per-memcg pgpgin/pswpin
counter") introduced the pswpin and pswpout items in the memory.stat of
cgroup v2.  Therefore, update them accordingly in the cgroup-v2
documentation.

Link: https://lkml.kernel.org/r/20250318075833.90615-3-jiahao.kernel@gmail.com
Fixes: 15ff4d409e1a ("mm/memcontrol: add per-memcg pgpgin/pswpin counter") 
Signed-off-by: Hao Jia <jiahao1@lixiang.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 Documentation/admin-guide/cgroup-v2.rst |    6 ++++++
 1 file changed, 6 insertions(+)

--- a/Documentation/admin-guide/cgroup-v2.rst~cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc
+++ a/Documentation/admin-guide/cgroup-v2.rst
@@ -1561,6 +1561,12 @@ The following nested keys are defined.
 	  workingset_nodereclaim
 		Number of times a shadow node has been reclaimed
 
+	  pswpin (npn)
+		Number of pages swapped into memory
+
+	  pswpout (npn)
+		Number of pages swapped out of memory
+
 	  pgscan (npn)
 		Amount of scanned pages (in an inactive LRU list)
 
_

Patches currently in -mm which might be from jiahao1@lixiang.com are

mm-vmscan-split-proactive-reclaim-statistics-from-direct-reclaim-statistics.patch
cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-19  2:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19  2:25 + cgroup-docs-add-pswpin-and-pswpout-items-in-cgroup-v2-doc.patch added to mm-unstable branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.