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

From: Ingo Molnar
Date: Thu Jun 14 2012 - 10:36:34 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> > > > > > 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.

As a first step I'd suggest to create a superset of all existing
and relied-upon wrappers/callbacks, into a single obvious
sched_*() or time_*() namespace, without breaking functionality.

Once that is done we can eliminate individual, conceptually
redundant callbacks, by carefully morphing the affected arches
step by step.

No arch will be left behind.

Thanks,

Ingo
--
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/