[PATCH 1/4] um: simplify os_idle_sleep() and sleep longer

Johannes Berg johannes at sipsolutions.net
Sat Nov 21 17:26:16 EST 2020


On Fri, 2020-11-20 at 22:29 +0100, Johannes Berg wrote:
> 
> Additionally, one second isn't really all that long, and as we
> are expecting to be woken up by a signal, we can sleep longer
> and avoid doing some work every second. Bump to two minutes.

The list is down so I cannot reply to the second version (that I think I
sent) yet, but there really is no reason for this ...

We can just use

	select(0, NULL, NULL, NULL);

which can *only* be woken up by signals.

johannes




More information about the linux-um mailing list