All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Brennan <stephen.s.brennan@oracle.com>
To: "HAGIO KAZUHITO(萩尾 一仁)" <k-hagio-ab@nec.com>,
	"Tao Liu" <ltao@redhat.com>
Cc: "YAMAZAKI MASAMITSU(山崎 真光)" <yamazaki-msmt@nec.com>,
	"kexec@lists.infradead.org" <kexec@lists.infradead.org>
Subject: Re: [PATCH makedumpfile 0/9] Improvements to makedumpfile extensions, plus userspace stack tracing extension
Date: Mon, 17 Aug 2026 13:02:28 -0700	[thread overview]
Message-ID: <878q64cy7f.fsf@oracle.com> (raw)
In-Reply-To: <404ed232-6c8e-4112-b13c-6338156476d3@nec.com>

HAGIO KAZUHITO(萩尾 一仁)	<k-hagio-ab@nec.com> writes:
> Hi Tao,
>
> On 2026/08/11 15:11, Tao Liu wrote:
>
>>>>>> and Tao, please check if your extension can be rebased on this
>>>>>> patchset.  and also if you agree the extension list, please provide
>>>>>> the information.
>> 
>> I have checked my extension to rebase on this patchset. The result is:
>> 
>> 1) Rebase fails, but only due to conflicts within extensions/Makefile.
>> These are small issues which would be very easy to fix.
>> 2) Once 1 is fixed, after compile, my extension can work as expected.
>> However this is a coincidence.  Because my extension takes callback
>> as:
>> 
>> int extension_callback(unsigned long pfn, const void *pcache)
>> {
>>          struct ft_page_info *cur = NULL;
>>          return filter_page(pfn, &cur);
>> }
>> 
>> But this patchset changed the callback into:
>> run_extension_callback(unsigned long pfn, const void *pcache, const
>> struct pginfo *i)
>> 
>> My extension works because it only takes pfn as parameter, and the
>> handle_cbs[i]->cb() doesn't check function parameters. However, I
>> don't think it is a major issue, once the modification on extension.c
>> merged upstream, I can adjust the function signature of mine
>> accordingly.
>
> Thank you for checking.  My main concern was the change in behavior, 
> particularly with compound pages.  If your extension works well after 
> some adjustments, that's good to hear.  I will merge the patch set later.
>
>> 
>>>>>
>>>>> Sure, I will check for the rebase. In the meantime, will the
>>>>> extensions to be maintained in one repo (e.g. makedumpfile extensions
>>>>> repo, so everyone can PR to it), or they are maintained in each of
>>>>> individual repos, and link them under
>>>>> https://github.com/makedumpfile/makedumpfile/wiki#extensions?
>>>>
>>>> I am open to either. I would be willing to co-maintain an extensions
>>>> repository with Tao, for example at github.com/makedumpfile/extensions,
>>>> so that there is a common place to contribute. That is, if this
>>>> arrangement would work for all?
>>>>
>>>> If we did create a common repository, I think we'd want to set up some
>>>> expectations on the quality & maintenance. EG, some may be marked as
>>>> "maintained" with a maintainer and a scope of maintenance (supported
>>>> kernel versions, supported architectures, etc), and others as
>>>> "unmaintained", where we just make sure that they build & run with
>>>> makedumpfile, but don't validate their behavior on specific kernels or
>>>> architectures.
>>>>
>>>> On the other hand, if it's preferable to stay separate, then I'm happy
>>>> to find another place to maintain the userstack & elfheader extensions.
>>>
>>> I was thinking of separate repositories.  A single repository would be
>>> fine, but for now I have no plans to create one within the makedumpfile
>>> organization.
>>>
>>> (Looking back at crash extensions, some become obsolete quickly or
>>> have very specific functionality, making it difficult for anyone
>>> other than the original author to maintain.  For this reason, I think
>>> it is best for the authors themselves to manage them.)
>> 
>> Understood, extensions are designed to address one specific issue, and
>> is easy to get outdated when makedumpfile/crash utility keeping
>> following up the latest kernel, but extensions are often left behind
>> due to low usage. Let's go with maintainling the extensions by each
>> authors seperately and link them into
>> https://github.com/makedumpfile/makedumpfile/wiki#extensions
>
> Thank you for your understanding.  for now, please let me know the 
> information of your extension once it's ready.

Hi Kazu, Tao,

I am working on creating a Github repository for this within the Oracle
Github organization for our extensions. This tends to take a while for
approvals. May I share the extension URL when it is available? In the
meantime, you could use the URL of this patch series (or the v2), which
I'll send once we resolve the discussion on Patch 4.

Thanks,
Stephen


  parent reply	other threads:[~2026-08-17 20:02 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14  0:45 [PATCH makedumpfile 0/9] Improvements to makedumpfile extensions, plus userspace stack tracing extension Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 1/9] Do not call extensions for tail pages Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 2/9] Honor CFLAGS in extension/Makefile Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 3/9] Share page information with extension callbacks Stephen Brennan
2026-08-12  4:01   ` Tao Liu
2026-08-17 15:27     ` Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 4/9] Introduce a stat for pages retained by extension Stephen Brennan
2026-08-13  2:15   ` Tao Liu
2026-08-13  4:54     ` HAGIO KAZUHITO(萩尾 一仁)
2026-08-17  3:44       ` Tao Liu
2026-08-17 19:58         ` Stephen Brennan
2026-08-19  7:52           ` HAGIO KAZUHITO(萩尾 一仁)
2026-08-20 19:35             ` Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 5/9] Move page checks into makedumpfile.h Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 6/9] Simplify arguments for page checks Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 7/9] Add PG_INCLUDE_HEAD extension return status Stephen Brennan
2026-08-07 16:24   ` Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 8/9] Add userstack extension Stephen Brennan
2026-07-14  0:45 ` [PATCH makedumpfile 9/9] Add elfheader extension Stephen Brennan
2026-08-03 15:55 ` [PATCH makedumpfile 0/9] Improvements to makedumpfile extensions, plus userspace stack tracing extension Stephen Brennan
2026-08-04  4:43   ` Tao Liu
2026-08-07  1:52 ` HAGIO KAZUHITO(萩尾 一仁)
2026-08-07  7:57   ` Tao Liu
2026-08-07 21:24     ` Stephen Brennan
2026-08-08  4:44       ` HAGIO KAZUHITO(萩尾 一仁)
2026-08-11  6:11         ` Tao Liu
2026-08-12  1:31           ` HAGIO KAZUHITO(萩尾 一仁)
2026-08-12  5:07             ` Tao Liu
2026-08-13  2:51               ` Tao Liu
2026-08-17 20:02             ` Stephen Brennan [this message]
2026-08-28  2:56               ` HAGIO KAZUHITO(萩尾 一仁)

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=878q64cy7f.fsf@oracle.com \
    --to=stephen.s.brennan@oracle.com \
    --cc=k-hagio-ab@nec.com \
    --cc=kexec@lists.infradead.org \
    --cc=ltao@redhat.com \
    --cc=yamazaki-msmt@nec.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.