forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit630246a
Quentin Perret
Ingo Molnar
sched/fair: Clean-up update_sg_lb_stats parameters
In preparation for the introduction of a new root domain flag which canbe set during load balance (the 'overutilized' flag), clean-up the setof parameters passed to update_sg_lb_stats(). More specifically, the'local_group' and 'local_idx' parameters can be removed since they caneasily be reconstructed from within the function.While at it, transform the 'overload' parameter into a flag stored inthe 'sg_status' parameter hence facilitating the definition of new flagswhen needed.Suggested-by: Peter Zijlstra <peterz@infradead.org>Suggested-by: Valentin Schneider <valentin.schneider@arm.com>Signed-off-by: Quentin Perret <quentin.perret@arm.com>Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>Cc: Linus Torvalds <torvalds@linux-foundation.org>Cc: Mike Galbraith <efault@gmx.de>Cc: Thomas Gleixner <tglx@linutronix.de>Cc: adharmap@codeaurora.orgCc: chris.redpath@arm.comCc: currojerez@riseup.netCc: dietmar.eggemann@arm.comCc: edubezval@gmail.comCc: gregkh@linuxfoundation.orgCc: javi.merino@kernel.orgCc: joel@joelfernandes.orgCc: juri.lelli@redhat.comCc: morten.rasmussen@arm.comCc: patrick.bellasi@arm.comCc: pkondeti@codeaurora.orgCc: rjw@rjwysocki.netCc: skannan@codeaurora.orgCc: smuckle@google.comCc: srinivas.pandruvada@linux.intel.comCc: thara.gopinath@linaro.orgCc: tkjos@google.comCc: vincent.guittot@linaro.orgCc: viresh.kumar@linaro.orgLink:https://lkml.kernel.org/r/20181203095628.11858-12-quentin.perret@arm.comSigned-off-by: Ingo Molnar <mingo@kernel.org>1 parent1f74de8 commit630246a
2 files changed
+14
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7905 | 7905 | | |
7906 | 7906 | | |
7907 | 7907 | | |
7908 | | - | |
7909 | | - | |
7910 | 7908 | | |
7911 | | - | |
| 7909 | + | |
7912 | 7910 | | |
7913 | 7911 | | |
7914 | | - | |
7915 | | - | |
7916 | | - | |
| 7912 | + | |
| 7913 | + | |
| 7914 | + | |
7917 | 7915 | | |
| 7916 | + | |
| 7917 | + | |
7918 | 7918 | | |
7919 | 7919 | | |
7920 | 7920 | | |
| |||
7938 | 7938 | | |
7939 | 7939 | | |
7940 | 7940 | | |
7941 | | - | |
| 7941 | + | |
7942 | 7942 | | |
7943 | 7943 | | |
7944 | 7944 | | |
| |||
7954 | 7954 | | |
7955 | 7955 | | |
7956 | 7956 | | |
7957 | | - | |
| 7957 | + | |
7958 | 7958 | | |
7959 | 7959 | | |
7960 | 7960 | | |
| |||
8099 | 8099 | | |
8100 | 8100 | | |
8101 | 8101 | | |
8102 | | - | |
8103 | | - | |
8104 | 8102 | | |
| 8103 | + | |
8105 | 8104 | | |
8106 | 8105 | | |
8107 | 8106 | | |
8108 | 8107 | | |
8109 | 8108 | | |
8110 | 8109 | | |
8111 | | - | |
8112 | | - | |
8113 | 8110 | | |
8114 | 8111 | | |
8115 | 8112 | | |
| |||
8124 | 8121 | | |
8125 | 8122 | | |
8126 | 8123 | | |
8127 | | - | |
8128 | | - | |
| 8124 | + | |
8129 | 8125 | | |
8130 | 8126 | | |
8131 | 8127 | | |
| |||
8175 | 8171 | | |
8176 | 8172 | | |
8177 | 8173 | | |
8178 | | - | |
8179 | | - | |
| 8174 | + | |
8180 | 8175 | | |
8181 | 8176 | | |
8182 | 8177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
719 | 722 | | |
720 | 723 | | |
721 | 724 | | |
| |||
0 commit comments
Comments
(0)