aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2018-06-01 20:01:20 +1000
committerMichael Ellerman <[email protected]>2018-06-03 20:40:36 +1000
commit85bcfaf69cbd610fdfac3351cf385809a2f4a93b (patch)
tree0c3ec307217742cf1857462744ca588ecca006e9 /tools/perf/scripts/python/net_dropmonitor.py
parentf1cb8f9beba8699dd1b4518418191499e53f7b17 (diff)
powerpc/64s/radix: optimise pte_update
Implementing pte_update with pte_xchg (which uses cmpxchg) is inefficient. A single larx/stcx. works fine, no need for the less efficient cmpxchg sequence. Then remove the memory barriers from the operation. There is a requirement for TLB flushing to load mm_cpumask after the store that reduces pte permissions, which is moved into the TLB flush code. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions