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 <sjenn...@redhat.com>
> Cc: Josh Poimboeuf <jpoim...@redhat.com>
> Cc: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
> Cc: Miroslav Benes <mbe...@suse.cz>
> Cc: Petr Mladek <pmla...@suse.cz>
> Cc: Jiri Kosina <jkos...@suse.cz>
> Cc: "Paul E. McKenney" <paul...@linux.vnet.ibm.com>
> Cc: Rusty Russell <ru...@rustcorp.com.au>
> Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>

Acked-by: Jiri Kosina <jkos...@suse.cz>

I guess you'll be taking this together with the series, so I am not 
applying it.

Thanks,

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to