tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nanosleep() for shorted than schedule slice



maya%netbsd.org@localhost writes:

>On Sun, Jul 02, 2017 at 01:16:15PM +0000, Christos Zoulas wrote:
>> The solution is to implement "tickless kernel". It is not that difficult.

>It looks like we are always descheduling the thread, not jut because we
>got a clock tick. even a tickless kernel won't help stupid.

A tickless kernel would wake the thread in time and let it preempt
a running thread when necessary.

Of course, for this to work nicely, the sleeping thread needs to
be woken up at a high enough priority. But that's a different problem.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index