Re: [PATCH 3/3] sched: Disable affine wakeups by default

Ingo Molnar
2009-10-26T07:01:21Z

* Mike Galbraith <efault@gmx.de> wrote:

> On Mon, 2009-10-26 at 06:47 +0100, Mike Galbraith wrote:
> > On Sun, 2009-10-25 at 22:36 -0700, Arjan van de Ven wrote:
>
> > > if you're a multicore domain you better have a shared cache..
> > > that's what it should mean. If it does not we should fix that.
> >
> > Sounds reasonable to me. I'll go make explosions.
>
> (Actually, if multicode and sibling does indeed mean shared cache, no
> arch tinkering should be necessary, just reset SD_WAKE_AFFINE when
> degenerating should work fine. Only thing is multicore with
> siblings.. and test test test)

Correct. There's a few cpus where multicore means separate caches but
all modern CPUs have shared caches for cores so we want to tune for
that.

Ingo