diff options
author | John Ogness <john.ogness@linutronix.de> | 2022-11-16 19:21:31 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-12-02 13:25:01 +0300 |
commit | 87f2e4b7d9e5c50756184b4f8d0b92680de61496 (patch) | |
tree | 11258aabf266bf5614213aa675fe6252088e16ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d792db6f6b902dad6b751dc2ef226fb4463efe62 (diff) | |
download | linux-87f2e4b7d9e5c50756184b4f8d0b92680de61496.tar.xz |
printk: console_flush_on_panic: use srcu console list iterator
With SRCU it is now safe to traverse the console list, even if
the console_trylock() failed. However, overwriting console->seq
when console_trylock() failed is still an issue.
Switch to SRCU iteration and document remaining issue with
console->seq.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-20-john.ogness@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions