OSDN Git Service

srcu: Move rcu_seq_start() and friends to rcu.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 20 Feb 2017 22:57:17 +0000 (14:57 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Apr 2017 18:38:19 +0000 (11:38 -0700)
commit2e8c28c2dd96c6f1f2d454a4e4b928385841e247
tree51467dc9e6dbd051093f5d0d6863dd46beec6c11
parentbdcabf4c7db719129ca6cb94b02f50aa4726c952
srcu: Move rcu_seq_start() and friends to rcu.h

This commit moves rcu_seq_start(), rcu_seq_end(), rcu_seq_snap(),
and rcu_seq_done() from kernel/rcu/tree.c to kernel/rcu/rcu.h.
This will allow SRCU to use these functions, which in turn will
allow SRCU to move from a single global callback queue to a
per-CPU callback queue.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h
kernel/rcu/tree.c