]> Pileus Git - ~andy/linux/commit
srcu: API for barrier after srcu read unlock
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Nov 2013 20:36:17 +0000 (22:36 +0200)
committerGleb Natapov <gleb@redhat.com>
Wed, 6 Nov 2013 07:32:09 +0000 (09:32 +0200)
commitce332f662deb545c8a4f3f58debcca26bb2e44b0
tree20af98a6c78d1c95033ef1a67caec18d97862e54
parent80f5b5e700fa9c58480eafce0d47367bafb70006
srcu: API for barrier after srcu read unlock

srcu read lock/unlock include a full memory barrier
but that's an implementation detail.
Add an API for make memory fencing explicit for
users that need this barrier, to make sure we
can change it as needed without breaking all users.

Acked-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
include/linux/srcu.h