Re: Stolen and degraded time and schedulers

Ingo Molnar
2007-03-14T20:39:33Z

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> I added stolen time accounting to xen-pv_ops last night. For Xen, at
> least, it wasn't hard to fit into the clockevent infrastructure. I
> just update the stolen time accounting for each cpu when it gets a
> timer tick; they seem to get a tick every couple of seconds even when
> idle.

touching the 'timer tick' is the wrong approach. 'stolen time' only
matters to the /scheduler tick/. So extend the hypervisor interface to
allow the injection of 'virtual' scheduler tick events: via the use of a
special clockevents device - do not change clockevents itself.

Ingo