diff options
author | Alex Shi <alexs@kernel.org> | 2024-02-10 19:39:23 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-02-28 15:43:17 +0100 |
commit | 54de442747037485da1fc4eca9636287a61e97e3 (patch) | |
tree | 1ce588fe0a6fe4b9a11ea27d2ea4403c7f09f00e /kernel/sched/fair.c | |
parent | fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0 (diff) | |
download | linux-stable-54de442747037485da1fc4eca9636287a61e97e3.tar.gz linux-stable-54de442747037485da1fc4eca9636287a61e97e3.tar.bz2 linux-stable-54de442747037485da1fc4eca9636287a61e97e3.zip |
sched/topology: Rename SD_SHARE_PKG_RESOURCES to SD_SHARE_LLC
SD_SHARE_PKG_RESOURCES is a bit of a misnomer: its naming suggests that
it's sharing all 'package resources' - while in reality it's specifically
for sharing the LLC only.
Rename it to SD_SHARE_LLC to reduce confusion.
[ mingo: Rewrote the confusing changelog as well. ]
Suggested-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Alex Shi <alexs@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Reviewed-by: Barry Song <baohua@kernel.org>
Link: https://lore.kernel.org/r/20240210113924.1130448-5-alexs@kernel.org
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 39781a666c08..6a16129f9a5c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -10678,7 +10678,7 @@ static inline void calculate_imbalance(struct lb_env *env, struct sd_lb_stats *s */ if (local->group_type == group_has_spare) { if ((busiest->group_type > group_fully_busy) && - !(env->sd->flags & SD_SHARE_PKG_RESOURCES)) { + !(env->sd->flags & SD_SHARE_LLC)) { /* * If busiest is overloaded, try to fill spare * capacity. This might end up creating spare capacity |