]> git.baikalelectronics.ru Git - kernel.git/commit
printk: wake up all waiters
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 21 Apr 2022 21:22:39 +0000 (23:28 +0206)
committerPetr Mladek <pmladek@suse.com>
Fri, 22 Apr 2022 19:30:57 +0000 (21:30 +0200)
commit27786f87d99ee758bb488ebc523a6c53df9bff6b
tree654c2096515e66b2ef5c913158ae6424d44601fe
parent7a9168515c43a058a3c8198cb95e4e37ca248191
printk: wake up all waiters

There can be multiple tasks waiting for new records. They should
all be woken. Use wake_up_interruptible_all() instead of
wake_up_interruptible().

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/20220421212250.565456-5-john.ogness@linutronix.de
kernel/printk/printk.c