summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-01-28 22:47:46 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-01-28 23:48:18 +0400
commit4db72b40fdbc706f8957e9773ae73b1574b8c694 (patch)
tree7ccf6324c0643b0b35c1ccc0895292f51000685e /tools/perf/util/scripting-engines/trace-event-python.c
parent17dfeb9113397a6119091a491ef7182649f0c5a9 (diff)
downloadlinux-4db72b40fdbc706f8957e9773ae73b1574b8c694.tar.xz
nfs: add memory barriers around NFS_INO_INVALID_DATA and NFS_INO_INVALIDATING
If the setting of NFS_INO_INVALIDATING gets reordered to before the clearing of NFS_INO_INVALID_DATA, then another task may hit a race window where both appear to be clear, even though the inode's pages are still in need of invalidation. Fix this by adding the appropriate memory barriers. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions