Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Pasha Tatashin" <pasha.tatashin@soleen.com>,
	rppt@kernel.org, shuah@kernel.org, akpm@linux-foundation.org,
	vipinsh@google.com, dmatlack@google.com,
	kexec@lists.infradead.org, pratyush@kernel.org, graf@amazon.com
Subject: Re: [PATCH v4 1/3] liveupdate: Move file_set_ser handling to session serialization helpers
Date: Mon, 26 Oct 2026 01:54:50 +0000	[thread overview]
Message-ID: <sashiko-outbox-184589@kernel.org> (raw)
In-Reply-To: <20261026014948.162559-2-pasha.tatashin@soleen.com>

> Currently, struct luo_session_ser is populated and cleared across two
> layers: luo_session_serialize() writes and clears ser->name, while
> luo_file_freeze() and luo_file_unfreeze() write and clear
> ser->file_set_ser.
> 
> In preparation for allowing userspace to freeze a session explicitly
> before kexec reboot, luo_file_freeze() and luo_file_unfreeze() need to
> be called on session->file_set before any struct luo_session_ser entry
> is reserved in luo_session_serialize().
> 
> Drop the struct luo_file_set_ser pointer parameter from
> luo_file_freeze() and luo_file_unfreeze(), and rename
> luo_session_freeze_one() and luo_session_unfreeze_one() to
> luo_session_serialize_one() and luo_session_unserialize_one() so that
> all fields of struct luo_session_ser are populated and cleared in one
> place.
> 
> Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261026014948.162559-1-pasha.tatashin@soleen.com?part=1



  reply	other threads:[~2026-10-26  1:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-26  1:49 [PATCH v4 0/3] liveupdate: Add LIVEUPDATE_SESSION_FREEZE ioctl Pasha Tatashin
2026-10-26  1:49 ` [PATCH v4 1/3] liveupdate: Move file_set_ser handling to session serialization helpers Pasha Tatashin
2026-10-26  1:54   ` sashiko-bot [this message]
2026-10-26  1:49 ` [PATCH v4 2/3] liveupdate: Add LIVEUPDATE_SESSION_FREEZE ioctl to freeze sessions early Pasha Tatashin
2026-10-26  1:54   ` sashiko-bot
2026-10-26  1:49 ` [PATCH v4 3/3] selftests: liveupdate: Add tests for LIVEUPDATE_SESSION_FREEZE Pasha Tatashin
2026-10-26  1: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=sashiko-outbox-184589@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=dmatlack@google.com \
    --cc=graf@amazon.com \
    --cc=kexec@lists.infradead.org \
    --cc=pasha.tatashin@soleen.com \
    --cc=pratyush@kernel.org \
    --cc=rppt@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shuah@kernel.org \
    --cc=vipinsh@google.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