diff options
author | John Ogness <john.ogness@linutronix.de> | 2022-11-16 17:21:22 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-12-02 11:25:00 +0100 |
commit | 8b5dd40088f7a3d85e6072f027ec50f309f64876 (patch) | |
tree | 91dc7785c11e00f57197aedd4f0ec46b6d995a45 /kernel/printk/printk.c | |
parent | tty: tty_io: document console_lock usage (diff) | |
download | linux-8b5dd40088f7a3d85e6072f027ec50f309f64876.tar.xz linux-8b5dd40088f7a3d85e6072f027ec50f309f64876.zip |
proc: consoles: document console_lock usage
The console_lock is held throughout the start/show/stop procedure
to print out device/driver information about all 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-11-john.ogness@linutronix.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions