Messages in this thread | | | Date | Mon, 06 Jan 2014 09:00:33 -0500 | From | Rik van Riel <> | Subject | Re: [PATCH] sched: Calculate effective load even if local weight is 0 |
| |
On 01/06/2014 07:35 AM, Peter Zijlstra wrote: > On Mon, Jan 06, 2014 at 11:39:12AM +0000, Mel Gorman wrote: >> wake_affine uses a weight of 0 for sync wakeups on the grounds that it >> is assuming the waking task will sleep and not contribute to load in the >> near future. In this case, we still want to calculate the effective load >> of the sched entity hierarchy. As effective_load is no longer used by >> task_numa_compare since commit fb13c7ee (sched/numa: Use a system-wide >> search to find swap/migration candidates), this patch simply restores the >> historical behaviour. > > Urgh.. yeah. We should merge this. Rik you ok with me adding a from and > sob from you?
Yes, please do :)
Signed-off-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |