linux/include/net/9p
Dominique Martinet 2b6e72ed74 9P: Add memory barriers to protect request fields over cb/rpc threads handoff
We need barriers to guarantee this pattern works as intended:
[w] req->rc, 1		[r] req->status, 1
wmb			rmb
[w] req->status, 1	[r] req->rc

Where the wmb ensures that rc gets written before status,
and the rmb ensures that if you observe status == 1, rc is the new value.

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2014-03-25 16:37:59 -05:00
..
9p.h 9p: Modify the stat structures to use kuid_t and kgid_t 2013-02-12 03:19:31 -08:00
client.h 9P: Add memory barriers to protect request fields over cb/rpc threads handoff 2014-03-25 16:37:59 -05:00
transport.h 9p: client: remove unused code and any reference to "cancelled" function 2013-07-30 15:54:28 -07:00