Re: [RFC PATCH] sched: Pass affine target cpu into wake_affine

From: Peter Zijlstra
Date: Mon Jan 04 2010 - 04:33:21 EST


On Mon, 2010-01-04 at 17:12 +0800, Lin Ming wrote:
> On Mon, 2010-01-04 at 17:25 +0800, Peter Zijlstra wrote:
> > On Mon, 2010-01-04 at 17:03 +0800, Lin Ming wrote:
> > > commit a03ecf08d7bbdd979d81163ea13d194fe21ad339
> > > Author: Lin Ming <ming.m.lin@xxxxxxxxx>
> > > Date: Mon Jan 4 14:14:50 2010 +0800
> > >
> > > sched: Pass affine target cpu into wake_affine
> > >
> > > Since commit a1f84a3(sched: Check for an idle shared cache in select_task_rq_fair()),
> > > the affine target maybe adjusted to any idle cpu in cache sharing domains
> > > instead of current cpu.
> > > But wake_affine still use current cpu to calculate load which is wrong.
> > >
> > > This patch passes affine cpu into wake_affine.
> > >
> >
> > Does this at all help with that regression?
>
> No.

crap :/

The change does look sensible though.

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