sched: Mark parent and real_parent as __rcu
authorKees Cook <keescook@chromium.org>
Wed, 14 Dec 2011 22:39:26 +0000 (14:39 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Dec 2011 07:21:59 +0000 (08:21 +0100)
commitabd63bc3a0f65ae9d85bc3b1bb067d3e3c2b2cc2
tree5c40dd25121062a186d203fb9343940de740be74
parent6a54aebf6978e9f296a4d3da3e40af425163c22e
sched: Mark parent and real_parent as __rcu

The parent and real_parent pointers should be considered __rcu,
since they should be held under either tasklist_lock or
rcu_read_lock.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20111214223925.GA27578@www.outflux.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h