Re: [PATCH 3/3] sched, fair: Stop searching for tasks in newidle balance if there are runnable tasks

From: Mike Galbraith
Date: Thu Apr 24 2014 - 04:28:33 EST


On Thu, 2014-04-24 at 04:51 +0200, Mike Galbraith wrote:

> Checking rq->lock for contention before ever going to idle balancing as
> well should give you a bit more. No need to run around looking for work
> that's trying to arrive. By not going there, perhaps stacking tasks,
> you may head off a future bounce as well.

Zzt. Bailing without drop/retake to let work land would be a bad plan.

-Mike

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