lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[BUG] AIC7*** SMP deadlock in ahc_linux_free_device
From
Hi:

This bug was discovered by Alex Samad.

The del_timer_sync call in ahc_linux_free_device added in 2.5.67
leads to an SMP deadlock when the function is called from the timer
itself in ahc_linux_dev_timed_unfreeze.

I haven't dug too deeply but it seems that there are also possible
races where ahc_linux_free_device can be called twice on the same
dev. Once from the timer and then again from a non-timer location.

Cheers,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.032 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site