# 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 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2020/03/5901710
- Thread: https://ratatoskr.run/linux-pci/2020/03/5899327/t.md

```text
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
```
