From: Matthew Wilcox <willy@infradead.org>
To: nifan.cxl@gmail.com
Cc: rostedt@goodmis.org, mhiramat@kernel.org,
akpm@linux-foundation.org, david@redhat.com, fan.ni@samsung.com,
yang@os.amperecomputing.com, linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org,
npache@redhat.com, mcgrof@kernel.org, a.manzanares@samsung.com,
dave@stgolabs.net, Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: Re: [PATCH v3] khugepaged: Pass folio instead of head page to trace events
Date: Fri, 25 Apr 2025 04:53:53 +0100 [thread overview]
Message-ID: <aAsHUZ6HTGFBRyXO@casper.infradead.org> (raw)
In-Reply-To: <20250425002425.533698-1-nifan.cxl@gmail.com>
On Thu, Apr 24, 2025 at 05:16:51PM -0700, nifan.cxl@gmail.com wrote:
> From: Fan Ni <fan.ni@samsung.com>
>
> The trace functions trace_mm_collapse_huge_page_isolate() and
> trace_mm_khugepaged_scan_pmd() each have a single user, which
> always passes in the head page of a folio.
> Refactor both functions to take a folio directly.
>
> Signed-off-by: Fan Ni <fan.ni@samsung.com>
> Reviewed-by: Nico Pache <npache@redhat.com>
> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> Reviewed-by: Yang Shi <yang@os.amperecomputing.com>
> Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
prev parent reply other threads:[~2025-04-25 3:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-25 0:16 [PATCH v3] khugepaged: Pass folio instead of head page to trace events nifan.cxl
2025-04-25 3:53 ` Matthew Wilcox [this message]
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=aAsHUZ6HTGFBRyXO@casper.infradead.org \
--to=willy@infradead.org \
--cc=a.manzanares@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=dave@stgolabs.net \
--cc=david@redhat.com \
--cc=fan.ni@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=mhiramat@kernel.org \
--cc=nifan.cxl@gmail.com \
--cc=npache@redhat.com \
--cc=rostedt@goodmis.org \
--cc=yang@os.amperecomputing.com \
/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 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.