diff options
author | John Ogness <[email protected]> | 2022-11-16 17:27:45 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-12-02 11:25:02 +0100 |
commit | 7c2af0f634f1bc761ca827310dc7e8e586af502f (patch) | |
tree | 02cf4fbe0f84214aa148c8acc27ef47ac49de535 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6f8836756f3cbb02bfd1f0e033516585250318a9 (diff) |
tty: tty_io: use console_list_lock for list synchronization
show_cons_active() uses the console_lock to gather information
on registered consoles. It requires that no consoles are unregistered
until it is finished. The console_list_lock should be used because
list synchronization responsibility will be removed from the
console_lock in a later change.
Note, the console_lock is still needed to serialize the device()
callback with other console operations.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions