Re: [patches] kernel timer races

From: Andrew Morton (andrewm@uow.edu.au)
Date: Thu May 25 2000 - 10:34:38 EST


Alan Cox wrote:
>
> > IMO, all ~700 uses of del_timer() should use the synchronous version
> > until they have been audited for del_timer_async()-safety.
>
> And what about auditing them for del_timer sync safety. One reason del_timer
> is async is that the original del_timer for 2.1.x that waited did cause
> deadlocks

That's why the patch detects the deadlock situation, breaks it and spits
out diagnostics - so we can hunt down the deadlocks and either fix them
or use del_timer_sync() in those special cases.

-- 
-akpm-

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST