lkml.org 
[lkml]   [2015]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 1/9] klp: Fix obvious RCU fail
On Mon, Mar 02, 2015 at 10:13:05AM +0100, Jiri Kosina wrote:
> On Mon, 2 Mar 2015, Peter Zijlstra wrote:

> > That said; I do have a follow up question on that code. So now you've
> > successfully obtained an address in module space; but the moment you
> > release that RCU-sched lock, the module can be gone.
> >
> > How does the whole live patching stuff deal with module removal during
> > patching?
>
> We have a module notifier that serializes using klp_mutex with the
> patching. Do you see a problem there?

Should work I think; might be worth noting this in a comment above this
lookup though.


\
 
 \ /
  Last update: 2015-03-02 11:41    [W:0.088 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site