Re: [RFC][PATCH 1/9] klp: Fix obvious RCU fail

From: Jiri Kosina
Date: Mon Mar 02 2015 - 04:13:18 EST

On Mon, 2 Mar 2015, Peter Zijlstra wrote:

> > Acked-by: Jiri Kosina <jkosina@xxxxxxx>
> >
> > I guess you'll be taking this together with the series, so I am not
> > applying it.
> Feel free to take it; this series might take a wee while longer to
> mature.

OK, thanks.

> 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?


Jiri Kosina
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at