aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorDietmar Eggemann <[email protected]>2019-01-22 16:25:01 +0000
committerIngo Molnar <[email protected]>2019-02-11 07:02:14 +0000
commitd0fe0b9c45c144e4ac60cf7f07f7e8ae86d3536d (patch)
treee6715bb39987a468ab5f46bf79ec4be048e40f92 /drivers/fpga/zynqmp-fpga.c
parentsched/fair: Fix O(nr_cgroups) in the load balancing path (diff)
downloadkernel-d0fe0b9c45c144e4ac60cf7f07f7e8ae86d3536d.tar.gz
kernel-d0fe0b9c45c144e4ac60cf7f07f7e8ae86d3536d.zip
sched/fair: Simplify post_init_entity_util_avg() by calling it with a task_struct pointer argument
Since commit: d03266910a53 ("sched/fair: Fix task group initialization") the utilization of a sched entity representing a task group is no longer initialized to any other value than 0. So post_init_entity_util_avg() is only used for tasks, not for sched_entities. Make this clear by calling it with a task_struct pointer argument which also eliminates the entity_is_task(se) if condition in the fork path and get rid of the stale comment in remove_entity_load_avg() accordingly. Signed-off-by: Dietmar Eggemann <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Morten Rasmussen <[email protected]> Cc: Patrick Bellasi <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Quentin Perret <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Valentin Schneider <[email protected]> Cc: Vincent Guittot <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions