public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: sn9c10x list corruption in 2.6.18.1
Date: Sun, 22 Oct 2006 14:15:39 -0400	[thread overview]
Message-ID: <20061022181539.GD27152@redhat.com> (raw)
In-Reply-To: <200610221346.53038.luca.risolia@studio.unibo.it>

On Sun, Oct 22, 2006 at 01:46:52PM +0200, Luca Risolia wrote:

 > > I found one area in the driver where we do list manipulation without any locking,
 > > but I'm not entirely convinced that this is the source of the bug yet.
 > Spinlocks are not necessary there, becouse that piece of code is already
 > isolated when running, to prevent concurrent accesses to the list from within 
 > the irq handler. 

ok

 > The bug should be elsewhere (probably not in the driver).

But it only happens when the user unplugs the camera, and no other
webcam driver seems to be affected by this problem.

That's fairly conclusive to me that the driver is misbehaving. 

	Dave
 
-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2006-10-22 18:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-22  3:11 sn9c10x list corruption in 2.6.18.1 Dave Jones
2006-10-22 11:46 ` Luca Risolia
2006-10-22 18:15   ` Dave Jones [this message]
2006-10-22 21:22     ` Luca Risolia
2006-10-23  2:35       ` teunis
2006-10-23 11:37         ` Luca Risolia
2006-10-23  2:39       ` teunis
2006-10-22 20:37 ` Pekka Enberg
2006-10-22 20:54   ` Dave Jones

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=20061022181539.GD27152@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.risolia@studio.unibo.it \
    /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