Re: [RFC GIT PULL] nohz: Basic cputime accounting for adaptivetickless

From: Frederic Weisbecker
Date: Thu Jun 14 2012 - 09:04:28 EST


On Thu, Jun 14, 2012 at 02:48:15PM +0200, Martin Schwidefsky wrote:
> On Thu, 14 Jun 2012 13:22:45 +0200
> Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> > On Thu, Jun 14, 2012 at 01:21:23PM +0200, Thomas Gleixner wrote:
> > > On Thu, 14 Jun 2012, Ingo Molnar wrote:
> > > > * Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
> > > > > You're right, I should have looked into CONFIG_VIRT_CPU_ACCOUNTING sooner
> > > > > and see if I can reuse it.
> > > > >
> > > > > I'll try something with that.
> > > >
> > > > Maybe sanitize all the variants under a single set of
> > > > wrappers/callbacks?
> > >
> > > Yes, please!
> >
> > Sure, I'm working in it.
>
> Please keep me in the loop, I want to avoid that things break on s390. Thanks.

Well, I realize I can't consolidate much between ia64, s390 and ppc because they
all handle virtual cpu time accounting very differently. I'm also not what the
virtual timer is for.

Also it seems only powerpc flushes the time when a task is descheduled. May be
I'm missing something.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/