Skip to content

Commit 5b8dc78

Browse files
committed
arch_topology: Drop LLC identifier stash from the CPU topology
Since the cacheinfo LLC information is used directly in arch_topology, there is no need to parse and store the LLC ID information only for ACPI systems in the CPU topology. Remove the redundant LLC ID from the generic CPU arch_topology information. Link: https://lore.kernel.org/r/[email protected] Tested-by: Ionela Voinescu <[email protected]> Tested-by: Conor Dooley <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent 798eb5b commit 5b8dc78

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/base/arch_topology.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,6 @@ void __init reset_cpu_topology(void)
752752
cpu_topo->core_id = -1;
753753
cpu_topo->cluster_id = -1;
754754
cpu_topo->package_id = -1;
755-
cpu_topo->llc_id = -1;
756755

757756
clear_cpu_topology(cpu);
758757
}

include/linux/arch_topology.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ struct cpu_topology {
6868
int core_id;
6969
int cluster_id;
7070
int package_id;
71-
int llc_id;
7271
cpumask_t thread_sibling;
7372
cpumask_t core_sibling;
7473
cpumask_t cluster_sibling;

0 commit comments

Comments
 (0)