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