diff options
| author | Eric Dumazet <edumazet@google.com> | 2016-11-20 01:57:11 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-21 19:32:34 +0300 |
| commit | b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8 (patch) | |
| tree | 5d65a634c526447fdc64421f1bc5102cd7da18df /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | d21dbdfe0afb5195607d207f894fe86d5b322d46 (diff) | |
| download | linux-b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8.tar.xz | |
bnx2: use READ_ONCE() instead of barrier()
barrier() is a big hammer compared to READ_ONCE(),
and requires comments explaining what is protected.
READ_ONCE() is more precise and compiler should generate
better overall code.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
