Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709969

Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute
Date 2017-08-11 23:20 +0200
Message-ID <udpvz-6M-7@gated-at.bofh.it> (permalink)
References <ucTcl-4sX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 10, 2017 at 12:48:12PM +0200, Miroslav Benes wrote:
> Now there is a sysfs attribute called "force", which provides two
> functionalities, "signal" and "force" (previously "unmark"). I haven't
> managed to come up with better names. Proposals are welcome. On the
> other hand I do not mind it much.

Now "force" has two meanings, which is a little confusing.  What do you
think about just having two separate write-only sysfs flags?

  echo 1 > /sys/kernel/livepatch/signal
  echo 1 > /sys/kernel/livepatch/force

That way there's no ambiguity.

-- 
Josh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] livepatch: Introduce force sysfs attribute Miroslav Benes <mbenes@suse.cz> - 2017-08-10 12:50 +0200
  [PATCH v2 2/3] livepatch: send a fake signal to all blocking tasks Miroslav Benes <mbenes@suse.cz> - 2017-08-10 12:50 +0200
    Re: [PATCH v2 2/3] livepatch: send a fake signal to all blocking  tasks Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-11 23:40 +0200
      Re: [PATCH v2 2/3] livepatch: send a fake signal to all blocking  tasks Jiri Kosina <jikos@kernel.org> - 2017-08-12 22:10 +0200
      Re: [PATCH v2 2/3] livepatch: send a fake signal to all blocking  tasks Miroslav Benes <mbenes@suse.cz> - 2017-08-14 16:30 +0200
    Re: [PATCH v2 2/3] livepatch: send a fake signal to all blocking  tasks Petr Mladek <pmladek@suse.com> - 2017-08-16 16:40 +0200
  Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-11 23:20 +0200
    Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute Miroslav Benes <mbenes@suse.cz> - 2017-08-14 11:00 +0200
    Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute Petr Mladek <pmladek@suse.com> - 2017-08-16 17:00 +0200
      Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-16 17:30 +0200
  Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute Petr Mladek <pmladek@suse.com> - 2017-08-16 15:40 +0200

csiph-web