Re: [PATCH 17/15] rcuwait: Inform rcuwait_wake_up() users if a wakeup was attempted

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2020-03-20 09:13:58
Also in
linux-pci, linux-usb, linux-wireless, linuxppc-dev, lkml
Reply to
Davidlohr Bueso, 2020-03-20
On 2020-03-20 01:55:25 [-0700], Davidlohr Bueso wrote:
Let the caller know if wake_up_process() was actually called or not;
some users can use this information for ad-hoc. Of course returning
true does not guarantee that wake_up_process() actually woke anything
up.
Wouldn't it make sense to return wake_up_process() return value to know
if a change of state occurred or not?

Sebastian
Thread (72 messages) 72 messages, 17 authors, last reply 2020-03-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help