diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-07-09 09:12:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-07-17 06:05:44 -0400 |
commit | 396e894d289d69bacf5acd983c97cd6e21a14c08 (patch) | |
tree | ec3e3ba19e332a799e1229f62663625d9c7583dd /include | |
parent | f469461df6ff822f71b8737bda86eea20f16ff93 (diff) |
sched: Revert nohz_ratelimit() for now
Norbert reported that nohz_ratelimit() causes his laptop to burn about
4W (40%) extra. For now back out the change and see if we can adjust
the power management code to make better decisions.
Reported-by: Norbert Preining <preining@logic.at>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mike Galbraith <efault@gmx.de>
Cc: Arjan van de Ven <arjan@infradead.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 747fcaedddb7..6e0bb86de990 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -273,17 +273,11 @@ extern cpumask_var_t nohz_cpu_mask; | |||
273 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) | 273 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) |
274 | extern int select_nohz_load_balancer(int cpu); | 274 | extern int select_nohz_load_balancer(int cpu); |
275 | extern int get_nohz_load_balancer(void); | 275 | extern int get_nohz_load_balancer(void); |
276 | extern int nohz_ratelimit(int cpu); | ||
277 | #else | 276 | #else |
278 | static inline int select_nohz_load_balancer(int cpu) | 277 | static inline int select_nohz_load_balancer(int cpu) |
279 | { | 278 | { |
280 | return 0; | 279 | return 0; |
281 | } | 280 | } |
282 | |||
283 | static inline int nohz_ratelimit(int cpu) | ||
284 | { | ||
285 | return 0; | ||
286 | } | ||
287 | #endif | 281 | #endif |
288 | 282 | ||
289 | /* | 283 | /* |