rcu: Create reasonable API for do_exit() TASKS_RCU processing
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 25 May 2017 15:51:48 +0000 (08:51 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 Aug 2017 14:26:05 +0000 (07:26 -0700)
commitccdd29ffffa7246cb359b9408772858a15fc4ea5
treec3267c792e96692f57e28f740ff42a4a1395487b
parent7e42776d5ed1fe9a941ed8876c5d15cd7cf5d89f
rcu: Create reasonable API for do_exit() TASKS_RCU processing

Currently, the exit-time support for TASKS_RCU is open-coded in do_exit().
This commit creates exit_tasks_rcu_start() and exit_tasks_rcu_finish()
APIs for do_exit() use.  This has the benefit of confining the use of the
tasks_rcu_exit_srcu variable to one file, allowing it to become static.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
include/linux/sched.h
kernel/exit.c
kernel/rcu/update.c