Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Down <chris@chrisdown.name>
To: Mike Rapoport <rppt@kernel.org>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>,
	Pratyush Yadav <pratyush@kernel.org>,
	Alexander Graf <graf@amazon.com>,
	Baoquan He <baoquan.he@linux.dev>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	kexec@lists.infradead.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kselftest@vger.kernel.org, kernel-team@meta.com
Subject: Re: [PATCH 2/9] kho: Make bootmem reservations visible to fleet monitoring
Date: Sat, 28 Nov 2026 10:27:49 -0800	[thread overview]
Message-ID: <awsdJYYDgmMa0uH9@chrisdown.name> (raw)
In-Reply-To: <avoD9gIBLvMW4vPp@kernel.org>

Hi Mike,

Mike Rapoport writes:
>> I can send patches for those separately if you agree that bootmem should be
>> counted in both.
>
>Yes, please :)

Will do.

>We'll need sysfs at some point to lift the requirement for debugfs mount.
>And I think it can live in /sys/kernel/kho and there we can have incoming
>and outgoing and the implementation can be in kernel/liveupdate/kho-sysfs.[ch]

That sounds good to me, and that way kexec_core.c doesn't need to know
about KHO's files at all. In v2 I'll move state, preserved_size and
restored_size from 6/9 and 7/9 to /sys/kernel/kho/incoming/.

Nothing in this series reports on the outgoing side, so I'll only add
incoming/ for now. The bootmem size stays out of sysfs, as Pasha asked.

>BTW, kexec_handover_debugfs.c was initially given the "full" name because
>it lived along kexec_* in kernel. These days I believe we can make it
>kho-debugfs.c

Pratyush's housekeeping series [1] renames it to kho_debugfs.c, so I'll
call the new file kho_sysfs.c to match.

>I promise to look at the rest of the series Really Soon :)

Thanks!

Chris

[1] https://lore.kernel.org/r/20261127122536.3708770-3-pratyush@kernel.org


  reply	other threads:[~2026-11-28 18:28 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  7:52 [PATCH 0/9] kho, liveupdate: KHO/LUO observability Chris Down
2026-11-11  7:52 ` [PATCH 1/9] kho: Reclaim the metadata page left reserved after kexec Chris Down
2026-11-11 11:08   ` Breno Leitao
2026-11-11 22:29   ` Pasha Tatashin
2026-11-13  8:30     ` Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-19 14:54   ` Pasha Tatashin
2026-11-28 18:27     ` Chris Down
2026-11-11  7:53 ` [PATCH 2/9] kho: Make bootmem reservations visible to fleet monitoring Chris Down
2026-11-11 23:14   ` Pasha Tatashin
2026-11-13  8:30     ` Chris Down
2026-11-15 19:11       ` Mike Rapoport
2026-11-28 18:27         ` Chris Down [this message]
2026-11-26 19:08       ` Pratyush Yadav
2026-11-28 18:27         ` Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 3/9] liveupdate: Make failed retrieves distinguishable from dropped files Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 4/9] selftests/liveupdate: Catch incorrect file accounting across kexec Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 5/9] selftests/kho: Catch missing or zero bootmem reports before kexec Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 6/9] kho: Expose rejected handovers that look like cold boots Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 7/9] kho: Report how much handover memory is preserved and restored Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 8/9] liveupdate: Expose the sequence number for consecutive live updates Chris Down
2026-11-12  7:54   ` sashiko-bot
2026-11-11  7:53 ` [PATCH 9/9] selftests/liveupdate: Check handover revival, sequence and memory stats Chris Down
2026-11-12  7:54   ` sashiko-bot

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=awsdJYYDgmMa0uH9@chrisdown.name \
    --to=chris@chrisdown.name \
    --cc=baoquan.he@linux.dev \
    --cc=corbet@lwn.net \
    --cc=graf@amazon.com \
    --cc=kernel-team@meta.com \
    --cc=kexec@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pasha.tatashin@soleen.com \
    --cc=pratyush@kernel.org \
    --cc=rppt@kernel.org \
    --cc=skhan@linuxfoundation.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