aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2020-04-24 13:16:22 -0700
committerJeff Kirsher <[email protected]>2020-05-22 18:21:52 -0700
commit42fc5dc042796a825d9e2db8ee4cd977b12f73d1 (patch)
tree04f26e92079cff89af8f5e05a3b50266dad31116 /tools/perf/scripts/python/syscall-counts.py
parentacda576f72b8a2eed44aa3840561daa0ce837744 (diff)
igc: Change adapter->nfc_rule_lock to mutex
This patch changes adapter->nfc_rule_lock type from spin_lock to mutex so we avoid unnecessary busy waiting on lock contention. A closer look at the execution context of NFC rule API users shows that all of them run in process context. The API users are: ethtool ops, igc_configure(), called when interface is brought up by user or reset workequeue thread, igc_down(), called when interface is brought down, and igc_remove(), called when driver is unloaded. Signed-off-by: Andre Guedes <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions