* Jeremy Fitzhardinge <[EMAIL PROTECTED]> 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/