Re: [patch] del_timer_sync scalability patch

From: Oleg Nesterov
Date: Tue Mar 15 2005 - 04:23:47 EST


Christoph Lameter wrote:
>
> @@ -476,6 +454,7 @@ repeat:
> }
> }
> spin_lock_irq(&base->lock);
> + timer->running = 0;
^^^^^^^^^^^^^^^^^^
> goto repeat;
> }
> }

This is imho wrong. The timer probably don't exist when
timer_list->function returns.

I mean, timer_list->function could deallocate timer's memory.

Oleg.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/