diff options
| author | John Ogness <[email protected]> | 2022-05-26 20:30:56 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2022-05-27 11:04:46 +0000 |
| commit | 809631e2bff5aba056df75cc4e43127dbd0278c9 (patch) | |
| tree | d6f705499b2731a75747a9eaf0e541a8c5d70ec6 /tools/bpf/bpftool/prog.c | |
| parent | Merge tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-809631e2bff5aba056df75cc4e43127dbd0278c9.tar.gz kernel-809631e2bff5aba056df75cc4e43127dbd0278c9.zip | |
Revert "printk: wake up all waiters"
This reverts commit 938ba4084abcf6fdd21d9078513c52f8fb9b00d0.
The wait queue @log_wait never has exclusive waiters, so there
is no need to use wake_up_interruptible_all(). Using
wake_up_interruptible() was the correct function to wake all
waiters.
Since there are no exclusive waiters, erroneously changing
wake_up_interruptible() to wake_up_interruptible_all() did not
result in any behavior change. However, using
wake_up_interruptible_all() on a wait queue without exclusive
waiters is fundamentally wrong.
Go back to using wake_up_interruptible() to wake all waiters.
Signed-off-by: John Ogness <[email protected]>
Acked-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
