mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Roberts <ryan.roberts@arm.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Hugh Dickins <hughd@google.com>,
	"Matthew Wilcox (Oracle)" <willy@infradead.org>,
	David Hildenbrand <david@redhat.com>,
	Barry Song <baohua@kernel.org>, Lance Yang <ioworker0@gmail.com>,
	Baolin Wang <baolin.wang@linux.alibaba.com>,
	Gavin Shan <gshan@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: [PATCH v3 0/2] Shmem mTHP controls and stats improvements
Date: Thu,  8 Aug 2024 12:18:45 +0100	[thread overview]
Message-ID: <20240808111849.651867-1-ryan.roberts@arm.com> (raw)

Hi All,

This is a small series to tidy up the way the shmem controls and stats are
exposed. These patches were previously part of the series at [2], but I decided
to split them out since they can go in independently.

---
This applies against today's mm-unstable (275d686abcb59). (although I had to fix
a minor build bug in stackdepot.c due to MIN() not being defined in this tree).
All mm selftests have been run; no regressions were observed.

Changes since v2 [2]
====================
  - swpout stats are now exposed for all orders supported by anon or shmem.

[2] https://lore.kernel.org/linux-mm/20240716135907.4047689-1-ryan.roberts@arm.com/

Thanks,
Ryan

Ryan Roberts (2):
  mm: Cleanup count_mthp_stat() definition
  mm: Tidy up shmem mTHP controls and stats

 include/linux/huge_mm.h |  70 +++++++++----------
 mm/huge_memory.c        | 144 +++++++++++++++++++++++++++++++---------
 mm/memory.c             |   2 -
 mm/shmem.c              |   6 --
 4 files changed, 149 insertions(+), 73 deletions(-)

--
2.43.0


             reply	other threads:[~2024-08-08 11:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08 11:18 Ryan Roberts [this message]
2024-08-08 11:18 ` [PATCH v3 1/2] mm: Cleanup count_mthp_stat() definition Ryan Roberts
2024-08-08 11:18 ` [PATCH v3 2/2] mm: Tidy up shmem mTHP controls and stats Ryan Roberts
2024-08-08 22:11   ` Barry Song
2024-08-09  7:46     ` Ryan Roberts
2024-08-09  8:31   ` Baolin Wang
2024-09-02  9:58     ` Ryan Roberts
2024-09-03  1:15       ` Baolin Wang
2024-09-03  1:53         ` Barry Song
2024-09-04 10:18           ` Ryan Roberts
2024-09-04 10:47     ` Ryan Roberts
2024-09-04 20:46       ` Andrew Morton
2024-09-05  7:29         ` Ryan Roberts
2024-09-05  0:45       ` Baolin Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240808111849.651867-1-ryan.roberts@arm.com \
    --to=ryan.roberts@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=baohua@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=david@redhat.com \
    --cc=gshan@redhat.com \
    --cc=hughd@google.com \
    --cc=ioworker0@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®