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


Groups > linux.kernel > #1357934

Re: livepatch/module: remove livepatch module notifier

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject Re: livepatch/module: remove livepatch module notifier
Date 2016-03-15 10:20 +0100
Message-ID <rcTiX-8vj-23@gated-at.bofh.it> (permalink)
References <rbBxM-2Xc-5@gated-at.bofh.it> <rbBxM-2Xc-13@gated-at.bofh.it> <rcCi7-5r0-25@gated-at.bofh.it> <rcEWC-73F-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 2016-03-14 13:50:09, Jessica Yu wrote:
> +++ Petr Mladek [14/03/16 16:06 +0100]:
> >On Fri 2016-03-11 15:03:48, Jessica Yu wrote:
> >>+err:
> >>+	/*
> >>+	 * If a patch is unsuccessfully applied, return
> >>+	 * error to the module loader.
> >>+	 */
> >>+	pr_warn("patch '%s' failed for module '%s', refusing to load module '%s'\n",
> >>+		patch->mod->name, obj->mod->name, obj->mod->name);
> >
> >One more thing. We should add here:
> >
> >	mod->klp_alive = true;
> >
> >Otherwise, there is a small race window when a new patch will try to
> >patch the module.
> 
> Ah, you are right. I think you meant false, though :-) Will fix that.

Yeah, I meant false :-)

Thanks,
Petr

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


Thread

[PATCH v2 2/2] livepatch/module: remove livepatch module notifier Jessica Yu <jeyu@redhat.com> - 2016-03-11 21:10 +0100
  Re: [PATCH v2 2/2] livepatch/module: remove livepatch module notifier Petr Mladek <pmladek@suse.com> - 2016-03-14 16:10 +0100
    Re: livepatch/module: remove livepatch module notifier Jessica Yu <jeyu@redhat.com> - 2016-03-14 19:00 +0100
      Re: livepatch/module: remove livepatch module notifier Petr Mladek <pmladek@suse.com> - 2016-03-15 10:20 +0100
  Re: [PATCH v2 2/2] livepatch/module: remove livepatch module notifier Josh Poimboeuf <jpoimboe@redhat.com> - 2016-03-14 21:10 +0100

csiph-web