diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-12-27 05:27:16 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-27 05:27:12 -0500 |
commit | d68bddb7329a4d47d950d6b0745a7e274d230ed4 (patch) | |
tree | c3916656ddad9c86f58945f2b4b4cfac5e741f04 /arch/s390/include | |
parent | c5328901aa1db134325607d65527742d8be07f7d (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.h | 2 |
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 *); | |||
35 | int topology_set_cpu_management(int fc); | 35 | int topology_set_cpu_management(int fc); |
36 | void topology_schedule_update(void); | 36 | void topology_schedule_update(void); |
37 | void store_topology(struct sysinfo_15_1_x *info); | 37 | void store_topology(struct sysinfo_15_1_x *info); |
38 | void topology_expect_change(void); | ||
38 | 39 | ||
39 | #else /* CONFIG_SCHED_BOOK */ | 40 | #else /* CONFIG_SCHED_BOOK */ |
40 | 41 | ||
41 | static inline void topology_schedule_update(void) { } | 42 | static inline void topology_schedule_update(void) { } |
42 | static inline int topology_cpu_init(struct cpu *cpu) { return 0; } | 43 | static inline int topology_cpu_init(struct cpu *cpu) { return 0; } |
44 | static inline void topology_expect_change(void) { } | ||
43 | 45 | ||
44 | #endif /* CONFIG_SCHED_BOOK */ | 46 | #endif /* CONFIG_SCHED_BOOK */ |
45 | 47 | ||