[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070314203826.GA15394@elte.hu>
Date: Wed, 14 Mar 2007 21:38:26 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Dan Hecht <dhecht@...are.com>, dwalker@...sta.com,
cpufreq@...ts.linux.org.uk,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Con Kolivas <kernel@...ivas.org>,
Chris Wright <chrisw@...s-sol.org>,
Virtualization Mailing List <virtualization@...ts.osdl.org>,
john stultz <johnstul@...ibm.com>,
Thomas Gleixner <tglx@...utronix.de>, paulus@...ibm.com,
schwidefsky@...ibm.com, Rik van Riel <riel@...hat.com>
Subject: Re: Stolen and degraded time and schedulers
* Jeremy Fitzhardinge <jeremy@...p.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists