mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	gibbs@scsiguy.com
Subject: [BUG] AIC7*** SMP deadlock in ahc_linux_free_device
Date: Tue, 17 Feb 2004 21:27:32 +1100	[thread overview]
Message-ID: <20040217102732.GA21221@gondor.apana.org.au> (raw)

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

             reply	other threads:[~2004-02-17 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 10:27 Herbert Xu [this message]
2004-02-18  1:23 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040217102732.GA21221@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=gibbs@scsiguy.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®