Re: [RFC][PATCH 3/5] kprobes: Take get_online_cpus() before taking jump_label_lock()

From: Steven Rostedt
Date: Fri May 12 2017 - 14:44:09 EST


On Fri, 12 May 2017 11:39:11 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> On Fri, May 12, 2017 at 01:15:47PM -0400, Steven Rostedt wrote:
> > From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
> >
> > jump_label_lock() is taken under get_online_cpus(). Make sure that kprobes
> > follows suit.
> >
> > Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
>
> The remaining three (3/5 through 5/5) look straightforward. #4 appears
> to be the one needing the recursive get_online_cpus().

In deed it is.

Thanks for looking at these.

-- Steve