mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Josh Poimboeuf <jpoimboe@redhat.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Seth Jennings <sjenning@redhat.com>,
	Vojtech Pavlik <vojtech@suse.cz>,
	live-patching@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] livepatch: support for repatching a function
Date: Mon, 19 Jan 2015 14:02:39 -0600	[thread overview]
Message-ID: <20150119200239.GA15916@treble.redhat.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1501192046130.10817@pobox.suse.cz>

On Mon, Jan 19, 2015 at 08:48:42PM +0100, Jiri Kosina wrote:
> On Mon, 19 Jan 2015, Josh Poimboeuf wrote:
> 
> > > If this is implemented really in a fully stackable manner (i.e. you 
> > > basically would be able to disable only the function that is currently 
> > > "active", i.e. on top of the stack), woudln't that provide more 
> > > predictable semantics?
> > 
> > Yes, I agree.  Thanks for the comment.
> > 
> > Would you want to enforce stacking even if there are no dependencies
> > between the patches?  I think that would be easiest (and cleanest).
> 
> Yup, I think that makes the most sense (especially in this "first step"). 
> Relaxing the revert rules to cover only patches which are really dependent 
> on each other (and we'd have to be careful about defining the meaning 
> this, especially with repsect to various consistency models coming in the 
> future) is something tha can always be done later on top.

Sounds good.  I'll do a v2.

FYI, I've also been working on a prototype of a consistency model, based
on my discussions with Vojtech on the list a few months ago
(LEAVE_PATCHED_SET + SWITCH_THREAD).  I'll probably have some patches to
send out for comments in a few weeks.  That should hopefully be a good
starting point for more discussion about the consistency model(s).

-- 
Josh

  reply	other threads:[~2015-01-19 20:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 20:08 Josh Poimboeuf
2015-01-16 16:51 ` Jiri Kosina
2015-01-19 14:54   ` Josh Poimboeuf
2015-01-19 19:48     ` Jiri Kosina
2015-01-19 20:02       ` Josh Poimboeuf [this message]
2015-01-20  9:56 ` Miroslav Benes
2015-01-20 12:52   ` Josh Poimboeuf

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=20150119200239.GA15916@treble.redhat.com \
    --to=jpoimboe@redhat.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=live-patching@vger.kernel.org \
    --cc=sjenning@redhat.com \
    --cc=vojtech@suse.cz \
    /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

Powered by JetHome