]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Add synchronize_srcu_expedited()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 26 Oct 2009 02:03:51 +0000 (19:03 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Oct 2009 08:40:30 +0000 (09:40 +0100)
commit1fedd7c89e04aca099e627b918d7da3d3130db32
tree7c6ac61e7d8cc9cf410251024f1a6e515987b478
parentc2eaf7b636b9c1ab40e5c8c26af71c5e1f7147f4
rcu: Add synchronize_srcu_expedited()

This patch creates a synchronize_srcu_expedited() that uses
synchronize_sched_expedited() where synchronize_srcu()
uses synchronize_sched().  The synchronize_srcu() and
synchronize_srcu_expedited() functions become one-liners that
pass synchronize_sched() or synchronize_sched_expedited(),
repectively, to a new __synchronize_srcu() function.

While in the file, move the EXPORT_SYMBOL_GPL()s to immediately
follow the corresponding functions.

Requested-by: Avi Kivity <avi@redhat.com>
Tested-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
Cc: avi@redhat.com
LKML-Reference: <12565226354038-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/srcu.h
kernel/srcu.c