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


Groups > linux.kernel > #1373343

Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model
Date 2016-04-07 14:20 +0200
Message-ID <rlh4K-3D1-9@gated-at.bofh.it> (permalink)
References <rgFKp-6zA-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 2016-03-25 14:34:47, Josh Poimboeuf wrote:
> TODO:
> - try ftrace handler switching idea from v1 cover letter

I have had a discussion about it with Mirek. This would help with
kthreads. If they are sleeping in a patched function, we wake
them up, this will help to migrate them before they get asleep again.

But it might be quite tricky. We must make sure to avoid a deadlock.
We probably should not check the stack in atomic context or
in time sensitive functions.

An alternative would be to check the stack and try migration
when the process goes into a sleep. It is a location where
we should not be afraid of any deadlocks or slight delay.
There should be high changes for a successful migration with
a minimal impact on the system throughput.

Best Regards,
Petr

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


Thread

Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model Petr Mladek <pmladek@suse.com> - 2016-04-07 14:20 +0200
  Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model Josh Poimboeuf <jpoimboe@redhat.com> - 2016-04-07 17:10 +0200
    Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model Jiri Kosina <jikos@kernel.org> - 2016-04-07 17:50 +0200
      Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model Josh Poimboeuf <jpoimboe@redhat.com> - 2016-04-07 20:10 +0200
        Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model Jiri Kosina <jikos@kernel.org> - 2016-04-07 20:40 +0200

csiph-web