aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2011-03-28 18:06:58 +0200
committerTejun Heo <[email protected]>2011-03-28 18:06:58 +0200
commit5f55924deaa62d6df687c131fb92aebe071ec787 (patch)
tree2888f5163793d9b37ff6726e470853d5d727abe3 /tools/perf/scripts/python/net_dropmonitor.py
parent787e5b06a80e7fc9dc02d9b53a9d8d2ac63b7ace (diff)
percpu: Avoid extra NOP in percpu_cmpxchg16b_double
percpu_cmpxchg16b_double() uses alternative_io() and looks like : e8 .. .. .. .. call this_cpu_cmpxchg16b_emu X bytes NOPX or, once patched (if cpu supports native instruction) on SMP build : 65 48 0f c7 0e cmpxchg16b %gs:(%rsi) 0f 94 c0 sete %al on !SMP build : 48 0f c7 0e cmpxchg16b (%rsi) 0f 94 c0 sete %al Therefore, NOPX should be : P6_NOP3 on SMP P6_NOP2 on !SMP Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Christoph Lameter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Pekka Enberg <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions