aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-06-05 22:35:24 +0000
committerDavid S. Miller <[email protected]>2012-06-10 20:23:20 -0700
commit83a27052c3376793bc879e00e6e6805d6fb7aab9 (patch)
tree5ee6d28233be328ac9f14ad0f0aa674a498b28d2 /tools/perf/util/scripting-engines/trace-event-python.c
parent7dbb491878a2c51d372a8890fa45a8ff80358af1 (diff)
virtio-net: fix a race on 32bit arches
commit 3fa2a1df909 (virtio-net: per cpu 64 bit stats (v2)) added a race on 32bit arches. We must use separate syncp for rx and tx path as they can be run at the same time on different cpus. Thus one sequence increment can be lost and readers spin forever. Signed-off-by: Eric Dumazet <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Jason Wang <[email protected]> Acked-by: Rusty Russell <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions