Re: [PATCH] add_timer -> mod_timer() in dst_run_gc() [message #5054 is a reply to message #5051] |
Wed, 09 August 2006 09:26  |
davem
Messages: 463 Registered: February 2006
|
Senior Member |
|
|
From: Kirill Korotaev <dev@openvz.org>
Date: Wed, 09 Aug 2006 13:01:32 +0400
> F.e. timer has fired on CPU2, but the handler was preeempted
> by an irq before dst_lock is tried.
> Meanwhile, someone on CPU1 adds an entry to gc list and
> starts the timer.
> If CPU2 was preempted long enough, this timer can expire
> simultaneously with resuming timer handler on CPU1, arriving
> exactly to the situation described.
Makes sense.
Patch applied, thanks.
|
|
|