diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2008-06-22 17:02:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-24 07:36:39 -0400 |
commit | 3ccf79f4570acacfefc51772e8f9207895b35ad7 (patch) | |
tree | 662b8831cb6bdac84ac356ab9dd496cc23c876e4 /kernel/rcutorture.c | |
parent | e3d7be270c5b1be07ffadcc8b56599ad8e975c1d (diff) |
rcu: make quiescent rcutorture less power-hungry
This patch aligns the rcutorture wakeup times to align with all other
multiple-of-a-second wakeups to further decrease power consumption.
Suggested-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: josh@freedesktop.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: dino@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: torvalds@linux-foundation.org
Cc: vegard.nossum@gmail.com
Cc: adobriyan@gmail.com
Cc: oleg@tv-sign.ru
Cc: bunk@kernel.org
Cc: rjw@sisk.pl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutorture.c')
-rw-r--r-- | kernel/rcutorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 0c40c13c5402..5e954edf0ed5 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -199,7 +199,7 @@ rcu_stutter_wait(void) | |||
199 | if (rcutorture_runnable) | 199 | if (rcutorture_runnable) |
200 | schedule_timeout_interruptible(1); | 200 | schedule_timeout_interruptible(1); |
201 | else | 201 | else |
202 | schedule_timeout_interruptible(HZ); | 202 | schedule_timeout_interruptible(round_jiffies_relative(HZ)); |
203 | } | 203 | } |
204 | 204 | ||
205 | /* | 205 | /* |