mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] AIC7*** SMP deadlock in ahc_linux_free_device
@ 2004-02-17 10:27 Herbert Xu
  2004-02-18  1:23 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2004-02-17 10:27 UTC (permalink / raw)
  To: Linux Kernel Mailing List, gibbs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-18  1:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-17 10:27 [BUG] AIC7*** SMP deadlock in ahc_linux_free_device Herbert Xu
2004-02-18  1:23 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®