Re: [PATCH 4/4] sched: Idle task shortcut optimization
From: Peter Zijlstra
Date: Fri Jan 17 2014 - 10:24:00 EST
On Fri, Jan 17, 2014 at 04:09:39PM +0100, Daniel Lezcano wrote:
> On 01/17/2014 03:09 PM, Peter Zijlstra wrote:
> >On Fri, Jan 17, 2014 at 10:04:04AM +0100, Daniel Lezcano wrote:
> >>+ schedstat_inc(rq, sched_goidle);
> >>+#ifdef CONFIG_SMP
> >>+ /* Trigger the post schedule to do an idle_enter for CFS */
> >>+ rq->post_schedule = 1;
> >>+#endif
> >>+ return rq->idle;
> >
> >Urgh, that retains the stupid idle crap like it is.
> >
> >I've not yet tested this, but is there a reason something like the below
> >couldn't work?
>
> I tested it by running hackbench and it seems to work as expected.
Thanks, I was still looking through the throttling. I'll keep it then
:-)
--
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/