[PATCH 5/5] sched/topology: Remove stale comment around llc_bytes on powerpc

From
Shrikanth Hegde <sshegde@linux.ibm.com>
Date
2026-11-18 16:37:33
Also in
driver-core, lkml
Reply to
Shrikanth Hegde, 2026-11-18
PowerPC now populates generic cacheinfo, allowing
get_effective_llc_bytes() to obtain the LLC size.

Remove the comment stating that get_effective_llc_bytes() always
returns zero on PowerPC.

Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
---
 kernel/sched/topology.c | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 99878da03bce..6d4e4a32bc4e 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -1001,13 +1001,6 @@ void sched_cache_active_set(void)
  * Update the bottom sched_domain's llc_bytes for @cpus sharing a physical
  * LLC. Called from cacheinfo_cpu_online() or
  * cacheinfo_cpu_pre_down() with cpu hotplug lock held.
- *
- * Note: get_effective_llc_bytes() returns 0 on PowerPC.
- * thus cache aware scheduling is disabled on PowerPC for
- * now. PowerPC does not use the generic cacheinfo framework --
- * it has its own cacheinfo with a separate struct cache hierarchy
- * and does not populates the per-CPU struct cpu_cacheinfo array
- * that get_cpu_cacheinfo_llc() reads.
  */
 void sched_update_llc_bytes(const struct cpumask *cpus)
 {
-- 
2.54.0

Thread (6 messages) 6 messages, 1 author, last reply 2h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help