diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2015-08-01 19:12:41 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-08-07 10:56:58 +0300 |
commit | 3a3814c28b13d038ce5e055fc01f9a7aa5b821b9 (patch) | |
tree | 23377b9d15e9996fcd0a4ab45dd663a035345a2f /arch/s390/numa | |
parent | f341b8dff9823a969be5fb3c958e5cb305ac67e8 (diff) | |
download | linux-3a3814c28b13d038ce5e055fc01f9a7aa5b821b9.tar.xz |
s390/topology: remove topology lock
Since we are already protected by the "sched_domains_mutex" lock, we can
safely remove the topology lock.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/numa')
-rw-r--r-- | arch/s390/numa/mode_emu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/s390/numa/mode_emu.c b/arch/s390/numa/mode_emu.c index 9d4e1e15a6f0..646cd94cff2f 100644 --- a/arch/s390/numa/mode_emu.c +++ b/arch/s390/numa/mode_emu.c @@ -51,6 +51,11 @@ enum {TOPTREE_ID_PHYS, TOPTREE_ID_NUMA}; static int emu_nodes = 1; /* NUMA stripe size */ static unsigned long emu_size; + +/* + * Node to core pinning information updates are protected by + * "sched_domains_mutex". + */ /* Pinned core to node mapping */ static int cores_to_node_id[CONFIG_NR_CPUS]; /* Total number of pinned cores */ @@ -393,7 +398,7 @@ static void print_node_to_core_map(void) * Transfer physical topology into a NUMA topology and modify CPU masks * according to the NUMA topology. * - * This function is called under the CPU hotplug lock. + * Must be called with "sched_domains_mutex" lock held. */ static void emu_update_cpu_topology(void) { |