aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2022-11-16 17:27:32 +0106
committerPetr Mladek <[email protected]>2022-12-02 11:25:01 +0100
commit8cb15f7f492f85d695a6f4d12044c47230f69d96 (patch)
tree41f575078a02039fea2204821414562413dd71b4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent87f2e4b7d9e5c50756184b4f8d0b92680de61496 (diff)
printk: console_device: use srcu console list iterator
Use srcu console list iteration for console list traversal. It is acceptable because the consoles might come and go at any time. Strict synchronizing with console registration code would not bring any advantage over srcu. Document why the console_lock is still necessary. Note that this is a preparatory change for when console_lock no longer provides synchronization for the console list. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions