projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3acd9eb
)
rcu: Fix rcutorture mod_timer argument to delay one jiffy
author
Paul E. McKenney
<
[email protected]
>
Tue, 23 Feb 2010 01:05:04 +0000
(17:05 -0800)
committer
Ingo Molnar
<
[email protected]
>
Thu, 25 Feb 2010 09:35:00 +0000
(10:35 +0100)
The current "mod_timer(&t, 1)" potentially makes the timer fire
immediately, change this to wait one jiffy.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: Paul E. McKenney <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
LKML-Reference: <
1266887105
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/rcutorture.c
patch
|
blob
|
history
diff --git
a/kernel/rcutorture.c
b/kernel/rcutorture.c
index 5f43f30fcd1d66e1ba7f34a7def8ed697cdd5b7d..258cdf0a91eb78efcda53b91aaa845f7045066b7 100644
(file)
--- a/
kernel/rcutorture.c
+++ b/
kernel/rcutorture.c
@@
-853,7
+853,7
@@
rcu_torture_reader(void *arg)
do {
if (irqreader && cur_ops->irq_capable) {
if (!timer_pending(&t))
- mod_timer(&t, 1);
+ mod_timer(&t,
jiffies +
1);
}
idx = cur_ops->readlock();
completed = cur_ops->completed();