summaryrefslogtreecommitdiffstats
path: root/samples/kdb
diff options
context:
space:
mode:
authorTrond Myklebust2013-03-25 16:23:40 +0100
committerTrond Myklebust2013-03-25 16:23:40 +0100
commit1166fde6a923c30f4351515b6a9a1efc513e7d00 (patch)
treec324a24baa26658651d2e1ecbf2771da569ff38b /samples/kdb
parentNFSv4.1: Add a helper pnfs_commit_and_return_layout (diff)
downloadkernel-qcow2-linux-1166fde6a923c30f4351515b6a9a1efc513e7d00.tar.gz
kernel-qcow2-linux-1166fde6a923c30f4351515b6a9a1efc513e7d00.tar.xz
kernel-qcow2-linux-1166fde6a923c30f4351515b6a9a1efc513e7d00.zip
SUNRPC: Add barriers to ensure read ordering in rpc_wake_up_task_queue_locked
We need to be careful when testing task->tk_waitqueue in rpc_wake_up_task_queue_locked, because it can be changed while we are holding the queue->lock. By adding appropriate memory barriers, we can ensure that it is safe to test task->tk_waitqueue for equality if the RPC_TASK_QUEUED bit is set. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions