Messages in this thread | | | Date | Sun, 1 Mar 2015 21:09:24 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [RFC][PATCH 1/9] klp: Fix obvious RCU fail |
| |
On Sat, 28 Feb 2015, Peter Zijlstra wrote:
> While one must hold RCU-sched (aka. preempt_disable) for find_symbol() > one must equally hold it over the use of the object returned. > > The moment you release the RCU-sched read lock, the object can be dead > and gone. > > Cc: Seth Jennings <sjenning@redhat.com> > Cc: Josh Poimboeuf <jpoimboe@redhat.com> > Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> > Cc: Miroslav Benes <mbenes@suse.cz> > Cc: Petr Mladek <pmladek@suse.cz> > Cc: Jiri Kosina <jkosina@suse.cz> > Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> > Cc: Rusty Russell <rusty@rustcorp.com.au> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Jiri Kosina <jkosina@suse.cz>
I guess you'll be taking this together with the series, so I am not applying it.
Thanks,
-- Jiri Kosina SUSE Labs
| |