From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: David Gibson <david@gibson.dropbear.id.au>,
jt@hpl.hp.com, Jouni Malinen <jkmaline@cc.hut.fi>,
joshk@triplehelix.org, linux-kernel@vger.kernel.org
Subject: Re: 2.5 kernel + hostap_cs + X11 = scheduling while atomic
Date: Thu, 6 Feb 2003 16:36:35 -0800 [thread overview]
Message-ID: <20030207003635.GA20348@bougret.hpl.hp.com> (raw)
In-Reply-To: <20030207000733.GD4905@zax>
On Fri, Feb 07, 2003 at 11:07:33AM +1100, David Gibson wrote:
> >
> > I had an argument with David a few month ago on the subject
> > (you can ask him how it ended). I believe that it's not a good
> > practice to "schedule" in any of the ioctl, and that seem to also
> > apply to get_wireless_stats. On the other hand, you can perfectly take
> > a spinlock, disable irq and do your job.
>
> Yes, this is because most of the device ioctl() calls are made with
> one or more spinlocks held by the network layer.
>
> --
> David Gibson
Thanks for the clarification, appreciated...
Jean
prev parent reply other threads:[~2003-02-07 1:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-05 7:36 Joshua Kwan
2003-02-06 5:28 ` Jouni Malinen
2003-02-06 17:27 ` Jean Tourrilhes
2003-02-07 0:07 ` David Gibson
2003-02-07 0:36 ` Jean Tourrilhes [this message]
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=20030207003635.GA20348@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=david@gibson.dropbear.id.au \
--cc=jkmaline@cc.hut.fi \
--cc=joshk@triplehelix.org \
--cc=jt@hpl.hp.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®