Files
linux/kernel
Vincent Guittot 8a41dfcda7 sched/fair: Don't set LBF_ALL_PINNED unnecessarily
Setting LBF_ALL_PINNED during active load balance is only valid when there
is only 1 running task on the rq otherwise this ends up increasing the
balance interval whereas other tasks could migrate after the next interval
once they become cache-cold as an example.

LBF_ALL_PINNED flag is now always set it by default. It is then cleared
when we find one task that can be pulled when calling detach_tasks() or
during active migration.

Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
2021-01-14 11:20:11 +01:00
..
2020-12-09 17:47:36 -08:00
2020-11-24 16:47:49 +01:00
2020-12-15 22:46:18 -08:00
2020-12-02 22:52:16 -05:00
…
…
…
…
…
…
2020-12-09 17:08:45 +01:00
…
…
2020-12-15 22:46:19 -08:00
2020-11-14 11:26:04 -08:00
…
2020-07-27 14:31:12 -04:00
…
2020-12-01 10:30:28 +00:00
…
…
2020-12-19 11:18:38 -08:00
…
…
…
…
…
2020-08-19 14:14:12 +02:00
2020-08-19 14:13:20 +02:00