aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorVasanthy Kolluri <[email protected]>2010-03-18 16:19:44 +0000
committerDavid S. Miller <[email protected]>2010-03-18 21:22:47 -0700
commita55a603dae47a1ea4fbfad3a3a428ea7a0900ab6 (patch)
treee5a0526197efe4afb24443a2b918a8908ce11a43 /tools/perf/scripts/python/syscall-counts.py
parentba7e94a44afbbf4c494e00b844f7bbfb144e7f6d (diff)
enic: Bug Fix: Fix hardware descriptor reads
The last bit written to a completion descriptor by hardware is the color bit. Driver must read all other descriptor fields only after reading the color bit to avoid reading stale descriptor fields. There is a rmb() after reading the color bit to avoid any compiler/cpu reordering of the reads. The color bit is the generation bit that toggles each pass through the completion descriptor ring. Signed-off-by: Scott Feldman <[email protected]> Signed-off-by: Vasanthy Kolluri <[email protected]> Signed-off-by: Roopa Prabhu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions