projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223f057
)
xentrace: Fix race in updating consumer ring index.
author
Keir Fraser
<keir@xensource.com>
Thu, 25 Oct 2007 16:27:57 +0000
(17:27 +0100)
committer
Keir Fraser
<keir@xensource.com>
Thu, 25 Oct 2007 16:27:57 +0000
(17:27 +0100)
From: George Dunlap <gdunlap@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/xentrace/xentrace.c
patch
|
blob
|
history
diff --git
a/tools/xentrace/xentrace.c
b/tools/xentrace/xentrace.c
index 17df72fe9d10378a44f5faadedc459e50442be05..5e7a0c52079d1a8dd766606970b8656d86e2f682 100644
(file)
--- a/
tools/xentrace/xentrace.c
+++ b/
tools/xentrace/xentrace.c
@@
-394,7
+394,7
@@
int monitor_tbufs(int outfd)
}
mb(); /* read buffer, then update cons. */
- meta[i]->cons =
meta[i]->
prod;
+ meta[i]->cons = prod;
}
nanosleep(&opts.poll_sleep, NULL);