FROMLIST: sched/fair: Clean-up update_sg_lb_stats parameters
In preparation for the introduction of a new root domain flag which can be set during load balance (the 'overutilized' flag), clean-up the set of parameters passed to update_sg_lb_stats(). More specifically, the 'local_group' and 'local_idx' parameters can be removed since they can easily be reconstructed from within the function. While at it, transform the 'overload' parameter into a flag stored in the 'sg_status' parameter hence facilitating the definition of new flags when needed. Change-Id: Ic2ccb51fdc08d7da0f8cc0442ef97cbcb4a52c86 Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Suggested-by:Peter Zijlstra <peterz@infradead.org> Suggested-by:
Valentin Schneider <valentin.schneider@arm.com> Signed-off-by:
Quentin Perret <quentin.perret@arm.com> Message-Id: <20181016101513.26919-12-quentin.perret@arm.com> Signed-off-by:
Quentin Perret <quentin.perret@arm.com>
Loading
Please register or sign in to comment