From: Duncan Sands <baldrick@wanadoo.fr>
To: Greg KH <greg@kroah.com>
Cc: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] [PATCH] USB speedtouch: don't open a connection if no firmware
Date: Tue, 8 Apr 2003 22:22:10 +0200 [thread overview]
Message-ID: <200304082222.10919.baldrick@wanadoo.fr> (raw)
In-Reply-To: <20030408201239.GA5828@kroah.com>
> > + udsl_fire_receivers (instance);
> >
> > dbg ("udsl_atm_open successful");
> >
> > + MOD_INC_USE_COUNT;
> > +
> > return 0;
> > }
>
> Any way you can convert this driver to not use MOD_INC_USE_COUNT, as
> it's racy and not really supported anymore? But if you _really_ have to
> use it, you need to call it at the first possible chance to make any
> race window smaller.
Hi Greg, I'm waiting on the fixes to the ATM layer (coming soon to a kernel
near you). As for the position of MOD_INC_USE_COUNT, did you ever hear
of anyone getting bitten by a race like this? If it makes you feel better, I
will move it up, probably just before I take the semaphore (since that is the
first place we can sleep). I will do it tomorrow, OK?
All the best,
Duncan.
next prev parent reply other threads:[~2003-04-08 20:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 7:26 Duncan Sands
2003-04-08 20:12 ` [linux-usb-devel] " Greg KH
2003-04-08 20:22 ` Duncan Sands [this message]
2003-04-08 21:40 ` Greg KH
2003-04-09 8:28 ` Duncan Sands
2003-04-09 23:31 ` Greg KH
[not found] <OF50785981.C7D592CC-ON85256D02.007454B5-85256D02.007ACB50@wsib.on.ca>
2003-04-09 8:31 ` Duncan Sands
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=200304082222.10919.baldrick@wanadoo.fr \
--to=baldrick@wanadoo.fr \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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®