diff options
author | John Ogness <john.ogness@linutronix.de> | 2022-11-16 19:21:21 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-12-02 13:25:00 +0300 |
commit | d25a2e748ae159e43d40f4bc0a9e89cc443e325f (patch) | |
tree | c04c03454c3c78eea0a2240123552acb437ddc1f /fs | |
parent | 0fb413ea64603a71e19b4b15a6c5b704e3897d06 (diff) | |
download | linux-d25a2e748ae159e43d40f4bc0a9e89cc443e325f.tar.xz |
tty: tty_io: document console_lock usage
show_cons_active() uses the console_lock to gather information
on registered consoles. Since the console_lock is being used for
multiple reasons, explicitly document these reasons. This will
be useful when the console_lock is split into fine-grained
locking.
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-10-john.ogness@linutronix.de
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions