topology.c (f9ec6fea201429b5a3f76319e943989f1a1e25ef) topology.c (778c558f49a2cb3dc7b18a80ff515e82aa813627)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Scheduler topology setup/handling methods
4 */
5#include "sched.h"
6
7DEFINE_MUTEX(sched_domains_mutex);
8

--- 1624 unchanged lines hidden (view full) ---

1633
1634/*
1635 * Topology list, bottom-up.
1636 */
1637static struct sched_domain_topology_level default_topology[] = {
1638#ifdef CONFIG_SCHED_SMT
1639 { cpu_smt_mask, cpu_smt_flags, SD_INIT_NAME(SMT) },
1640#endif
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Scheduler topology setup/handling methods
4 */
5#include "sched.h"
6
7DEFINE_MUTEX(sched_domains_mutex);
8

--- 1624 unchanged lines hidden (view full) ---

1633
1634/*
1635 * Topology list, bottom-up.
1636 */
1637static struct sched_domain_topology_level default_topology[] = {
1638#ifdef CONFIG_SCHED_SMT
1639 { cpu_smt_mask, cpu_smt_flags, SD_INIT_NAME(SMT) },
1640#endif
1641
1642#ifdef CONFIG_SCHED_CLUSTER
1643 { cpu_clustergroup_mask, cpu_cluster_flags, SD_INIT_NAME(CLS) },
1644#endif
1645
1641#ifdef CONFIG_SCHED_MC
1642 { cpu_coregroup_mask, cpu_core_flags, SD_INIT_NAME(MC) },
1643#endif
1644 { cpu_cpu_mask, SD_INIT_NAME(DIE) },
1645 { NULL, },
1646};
1647
1648static struct sched_domain_topology_level *sched_domain_topology =

--- 881 unchanged lines hidden ---
1646#ifdef CONFIG_SCHED_MC
1647 { cpu_coregroup_mask, cpu_core_flags, SD_INIT_NAME(MC) },
1648#endif
1649 { cpu_cpu_mask, SD_INIT_NAME(DIE) },
1650 { NULL, },
1651};
1652
1653static struct sched_domain_topology_level *sched_domain_topology =

--- 881 unchanged lines hidden ---