aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-12-27 05:27:16 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-12-27 05:27:12 -0500
commitd68bddb7329a4d47d950d6b0745a7e274d230ed4 (patch)
treec3916656ddad9c86f58945f2b4b4cfac5e741f04 /arch/s390/include
parentc5328901aa1db134325607d65527742d8be07f7d (diff)
[S390] topology: increase poll frequency if change is anticipated
Increase cpu topology change poll frequency if a change is anticipated. Otherwise a user might be a bit confused to have to wait up to a minute in order to see a change this should be visible immediatly. However there is no guarantee that the change will happen during the time frame the poll frequency is increased. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/topology.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h
index 7016dd7b6bc4..0837de80c351 100644
--- a/arch/s390/include/asm/topology.h
+++ b/arch/s390/include/asm/topology.h
@@ -35,11 +35,13 @@ int topology_cpu_init(struct cpu *);
35int topology_set_cpu_management(int fc); 35int topology_set_cpu_management(int fc);
36void topology_schedule_update(void); 36void topology_schedule_update(void);
37void store_topology(struct sysinfo_15_1_x *info); 37void store_topology(struct sysinfo_15_1_x *info);
38void topology_expect_change(void);
38 39
39#else /* CONFIG_SCHED_BOOK */ 40#else /* CONFIG_SCHED_BOOK */
40 41
41static inline void topology_schedule_update(void) { } 42static inline void topology_schedule_update(void) { }
42static inline int topology_cpu_init(struct cpu *cpu) { return 0; } 43static inline int topology_cpu_init(struct cpu *cpu) { return 0; }
44static inline void topology_expect_change(void) { }
43 45
44#endif /* CONFIG_SCHED_BOOK */ 46#endif /* CONFIG_SCHED_BOOK */
45 47