summaryrefslogtreecommitdiffstats
path: root/kernel/printk/printk.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-11-16 17:27:22 +0106
committerPetr Mladek <pmladek@suse.com>2022-12-02 11:25:00 +0100
commit8b5dd40088f7a3d85e6072f027ec50f309f64876 (patch)
tree91dc7785c11e00f57197aedd4f0ec46b6d995a45 /kernel/printk/printk.c
parentd25a2e748ae159e43d40f4bc0a9e89cc443e325f (diff)
downloadlinux-8b5dd40088f7a3d85e6072f027ec50f309f64876.tar.bz2
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 'kernel/printk/printk.c')
0 files changed, 0 insertions, 0 deletions