summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAhmed S. Darwish <a.darwish@linutronix.de>2020-06-03 17:49:47 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-05 01:50:42 +0300
commitc7e261d81783387a0502878cd229327e7c54322e (patch)
treea0d67fe433ec03508860a48ea59db759a5a1552d /tools/perf/scripts/python/exported-sql-viewer.py
parent6501bf87602f799b7e502014f8bc0aa58b868277 (diff)
downloadlinux-c7e261d81783387a0502878cd229327e7c54322e.tar.xz
net: mdiobus: Disable preemption upon u64_stats update
The u64_stats mechanism uses sequence counters to protect against 64-bit values tearing on 32-bit architectures. Updating u64_stats is thus a sequence counter write side critical section where preemption must be disabled. For mdiobus_stats_acct(), disable preemption upon the u64_stats update. It is called from process context through mdiobus_read() and mdiobus_write(). Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de> Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions