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 :-)