live-patching.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Mladek <pmladek@suse.com>
To: Yafang Shao <laoar.shao@gmail.com>
Cc: jpoimboe@kernel.org, jikos@kernel.org, mbenes@suse.cz,
	joe.lawrence@redhat.com, song@kernel.org, mpdesouza@suse.com,
	live-patching@vger.kernel.org
Subject: Re: [PATCH v3 0/3] livepatch: Add "replace" sysfs attribute
Date: Wed, 3 Jul 2024 10:30:38 +0200	[thread overview]
Message-ID: <ZoUMLm02OnHG8g40@pathway.suse.cz> (raw)
In-Reply-To: <20240625151123.2750-1-laoar.shao@gmail.com>

On Tue 2024-06-25 23:11:20, Yafang Shao wrote:
> There are situations when it might make sense to combine livepatches
> with and without the atomic replace on the same system. For example,
> the livepatch without the atomic replace might provide a hotfix
> or extra tuning.
> 
> Managing livepatches on such systems might be challenging. And the
> information which of the installed livepatches do not use the atomic
> replace would be useful. Therefore, "replace" sysfs attribute is added
> to show whether a livepatch supports atomic replace or not.
> 
> A minor cleanup is also included in this patchset.
> 
> v2->v3:
> - Improve the commit log (Petr)
> 
> v1->v2: https://lore.kernel.org/live-patching/20240610013237.92646-1-laoar.shao@gmail.com/
> - Refine the subject (Miroslav)
> - Use sysfs_emit() instead and replace other snprintf() as well (Miroslav)
> - Add selftests (Marcos) 
> 
> v1: https://lore.kernel.org/live-patching/20240607070157.33828-1-laoar.shao@gmail.com/
> 
> Yafang Shao (3):
>   livepatch: Add "replace" sysfs attribute
>   selftests/livepatch: Add selftests for "replace" sysfs attribute
>   livepatch: Replace snprintf() with sysfs_emit()
> 
>  .../ABI/testing/sysfs-kernel-livepatch        |  8 ++++
>  kernel/livepatch/core.c                       | 17 +++++--
>  .../testing/selftests/livepatch/test-sysfs.sh | 48 +++++++++++++++++++
>  3 files changed, 70 insertions(+), 3 deletions(-)

JFYI, the patchset has been committed into livepatchining.git,
branch for-6.11/sysfs-patch-replace.

Best Regards,
Petr

      parent reply	other threads:[~2024-07-03  8:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25 15:11 [PATCH v3 0/3] livepatch: Add "replace" sysfs attribute Yafang Shao
2024-06-25 15:11 ` [PATCH v3 1/3] " Yafang Shao
2024-06-25 15:11 ` [PATCH v3 2/3] selftests/livepatch: Add selftests for " Yafang Shao
2024-06-25 15:11 ` [PATCH v3 3/3] livepatch: Replace snprintf() with sysfs_emit() Yafang Shao
2024-06-27 13:23 ` [PATCH v3 0/3] livepatch: Add "replace" sysfs attribute Miroslav Benes
2024-07-03  8:30 ` Petr Mladek [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=ZoUMLm02OnHG8g40@pathway.suse.cz \
    --to=pmladek@suse.com \
    --cc=jikos@kernel.org \
    --cc=joe.lawrence@redhat.com \
    --cc=jpoimboe@kernel.org \
    --cc=laoar.shao@gmail.com \
    --cc=live-patching@vger.kernel.org \
    --cc=mbenes@suse.cz \
    --cc=mpdesouza@suse.com \
    --cc=song@kernel.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;
as well as URLs for NNTP newsgroup(s).