Re: [patch] scalable timers implementation, 2.4.16, 2.5.0

Andrew Morton (akpm@zip.com.au)
Wed, 05 Dec 2001 14:13:17 -0800


Rusty Russell wrote:
>
> PS. Also would be nice to #define del_timer del_timer_sync, and have a
> del_timer_async for those (very few) cases who really want this.

That could cause very subtle deadlocks. I'd prefer to do:

#define del_timer_async del_timer

and to then put out the word that del_timer is a deprecated
interface and code should use either del_timer_sync or
del_timer_async.

That way, we can grep through the tree and see which code
has not yet been reviewed/fixed.

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