diff options
| author | Chengming Zhou <[email protected]> | 2022-08-18 12:48:05 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-08-23 09:01:20 +0000 |
| commit | e4fe074d6c359c19b74564fa1364fe48343cfa5d (patch) | |
| tree | 1562bcdc259ba57547b325ef429c8308630b94f2 /net/unix/af_unix.c | |
| parent | sched/fair: Move task sched_avg attach to enqueue_task_fair() (diff) | |
| download | kernel-e4fe074d6c359c19b74564fa1364fe48343cfa5d.tar.gz kernel-e4fe074d6c359c19b74564fa1364fe48343cfa5d.zip | |
sched/fair: Don't init util/runnable_avg for !fair task
post_init_entity_util_avg() init task util_avg according to the cpu util_avg
at the time of fork, which will decay when switched_to_fair() some time later,
we'd better to not set them at all in the case of !fair task.
Suggested-by: Vincent Guittot <[email protected]>
Signed-off-by: Chengming Zhou <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
