linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Eugen Hristev <eugen.hristev@linaro.org>,
	 Matthew Wilcox <willy@infradead.org>,
	Amit Shah <amit@infradead.org>,
	 Andrew Morton <akpm@linux-foundation.org>,
	 Aneesh Kumar <AneeshKumar.KizhakeVeetil@arm.com>,
	 Christoph Lameter <cl@linux.com>,
	Dave Hansen <dave.hansen@intel.com>,
	 David Hildenbrand <david@redhat.com>,
	Davidlohr Bueso <dave@stgolabs.net>,
	 Hugh Dickins <hughd@google.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	 John Hubbard <jhubbard@nvidia.com>,
	Kirill Shutemov <k.shutemov@gmail.com>,
	 Mel Gorman <mel.gorman@gmail.com>,
	Michal Hocko <mhocko@suse.com>,
	 Mike Rapoport <mike.rapoport@gmail.com>,
	Peter Xu <peterx@redhat.com>,  Raghavendra K T <rkodsara@amd.com>,
	 "Rao, Bharata Bhasker" <bharata@amd.com>,
	Rik van Riel <riel@surriel.com>,
	 Roman Gushchin <roman.gushchin@linux.dev>,
	Shivank Garg <shivankg@amd.com>,
	 Sterling Alexander <stalexan@redhat.com>,
	 Suren Baghdasaryan <surenb@google.com>,
	Tejun Heo <tj@kernel.org>,  Vlastimil Babka <vbabka@suse.cz>,
	Yang Shi <shy828301@gmail.com>,  Zi Yan <ziy@nvidia.com>,
	linux-mm@kvack.org, rdunlap@infradead.org
Subject: Re: [Invitation] Linux MM Alignment Session on kmemdump on Wednesday
Date: Tue, 16 Sep 2025 12:27:08 -0700 (PDT)	[thread overview]
Message-ID: <08c0b550-0a78-0b25-308d-18b143999599@google.com> (raw)
In-Reply-To: <nglllfwopxgz3fye3grko3hmbvpmfhewj36qg6lbh3b66bjpvz@foxfjulayqst>

On Tue, 16 Sep 2025, Shakeel Butt wrote:

> > >>>> This week's topic will be kmemdump led by Eugen Hristev.  See the latest
> > >>>> proposal at https://lwn.net/Articles/1031319/.
> > >>>
> > >>> I don't understand what this has to do with mm, to be honest.
> > >>> It looks like a debugging aid.
> > >>
> > >> It was suggested to move it to mm/ :
> > >>
> > >> https://lore.kernel.org/all/0fa9e4e7-1247-4c82-8c0b-fa65b7fbb56d@infradead.org/
> > > 
> > > I feel like you should be able to explain this rather better than
> > > "somebody else told me to move it".  As of this moment, I still don't
> > > know what kmemdump even is.
> > > 
> > >>>
> > >>> https://lore.kernel.org/lkml/20250422113156.575971-2-eugen.hristev@linaro.org/
> > >>>
> > >>> is a great example of how to write a lot of documentation that doesn't
> > >>> actually tell the reader what anything is.
> > >>>
> > >>>
> > >>
> > >> Here is a link to the v3 where I changed it a little bit :
> > >>
> > >> https://lore.kernel.org/all/20250912150855.2901211-1-eugen.hristev@linaro.org/
> > >>
> > >> I am eager to improve the documentation to make more sense out of it, I
> > >> am happy with suggestions.
> > > 
> > > Start by telling me what it is.
> > 
> > A way to select memory areas from the kernel that can be used to debug
> > the kernel, instead of saving the whole memory dump which is mostly not
> > of interest and takes a lot of space.
> > Anyone can register a pointer and a size, these are placed into a list,
> > and a dedicated firmware can parse it and save it in case of a crash.
> > Does this make sense ?
> 
> Is it only for kernel or is available for userspace as well? And the
> crashes here, we are talking about kernel crashes or includes process
> crashes as well?
> 

Yeah, I think understanding the scope of this work, both in the current 
RFC as well as the long term vision, is going to be useful.

In this case of kmemdump, which I agree is not core mm, it's likely best 
to use this alignment session to first describe the problem statement: 
what are we trying to solve?  The reference to dedicated firmware above 
piques at least my curiosity.

I see some interaction on the latest RFC, asking questions, and deciding 
the interaction with pstore, I think the goal of this session would be to 
determine if (1) the problem is worth solving, (2) if there are existing 
mechanisms that can already get us there, and (3) if the current approach 
makes sense long term or if any pivots are needed.

Hopefully an interactive discussion will save time in the long term by 
ensuring alignment in this area even if the feedback turns out to be "no, 
we're not doing this."  That would likely best be done by first 
describing, thoroughly, the problem statement before jumping into 
implementation specifics.


  reply	other threads:[~2025-09-16 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-15 15:58 David Rientjes
2025-09-15 18:53 ` Matthew Wilcox
2025-09-16  8:49   ` Eugen Hristev
2025-09-16 12:07     ` Matthew Wilcox
2025-09-16 12:14       ` Eugen Hristev
2025-09-16 15:36         ` Shakeel Butt
2025-09-16 19:27           ` David Rientjes [this message]
2025-09-16 20:20             ` Eugen Hristev
2025-09-16 20:11           ` Eugen Hristev

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=08c0b550-0a78-0b25-308d-18b143999599@google.com \
    --to=rientjes@google.com \
    --cc=AneeshKumar.KizhakeVeetil@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=amit@infradead.org \
    --cc=bharata@amd.com \
    --cc=cl@linux.com \
    --cc=dave.hansen@intel.com \
    --cc=dave@stgolabs.net \
    --cc=david@redhat.com \
    --cc=eugen.hristev@linaro.org \
    --cc=hannes@cmpxchg.org \
    --cc=hughd@google.com \
    --cc=jhubbard@nvidia.com \
    --cc=k.shutemov@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=mel.gorman@gmail.com \
    --cc=mhocko@suse.com \
    --cc=mike.rapoport@gmail.com \
    --cc=peterx@redhat.com \
    --cc=rdunlap@infradead.org \
    --cc=riel@surriel.com \
    --cc=rkodsara@amd.com \
    --cc=roman.gushchin@linux.dev \
    --cc=shakeel.butt@linux.dev \
    --cc=shivankg@amd.com \
    --cc=shy828301@gmail.com \
    --cc=stalexan@redhat.com \
    --cc=surenb@google.com \
    --cc=tj@kernel.org \
    --cc=vbabka@suse.cz \
    --cc=willy@infradead.org \
    --cc=ziy@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox