[Devel] Re: [PATCH] add_timer -> mod_timer() in dst_run_gc()
davem at davemloft.net
Wed Aug 9 02:26:12 PDT 2006
From: Kirill Korotaev <dev at 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.
Patch applied, thanks.
More information about the Devel