git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
timers: Reduce future __run_timers() latency for first add to empty list
[sfrench/cifs-2.6.git]
/
kernel
/
timer.c
diff --git
a/kernel/timer.c
b/kernel/timer.c
index dfac34f7186f60faf6ee0b6ad7b7d6dd1ed699dd..0c638cf3d9d21ce066bc0873431fd6d11063cc21 100644
(file)
--- a/
kernel/timer.c
+++ b/
kernel/timer.c
@@
-398,6
+398,7
@@
__internal_add_timer(struct tvec_base *base, struct timer_list *timer)
static void internal_add_timer(struct tvec_base *base, struct timer_list *timer)
{
+ (void)catchup_timer_jiffies(base);
__internal_add_timer(base, timer);
/*
* Update base->active_timers and base->next_timer