tech-kern archive

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

Re: Tickless kernel



maya%netbsd.org@localhost writes:

>On Sun, Jul 02, 2017 at 11:10:19PM -0000, Michael van Elst wrote:
>> it needs MD support on all platforms.

>What more does an implementation need besides asking for an interrupt in
>timo at cv_timedwait* (and increasing HZ)?

>That could be a no-op for platforms that can't provide it.

Currently the platform provides the regular hardclock interrupt
that dispatches all timed activity.

For a tickless kernel you need a one-shot timer instead that
can be armed to fire at an arbitrary time. Optionally you could
tell it to fire on a specific CPU.

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


Home | Main Index | Thread Index | Old Index