From: Greg KH <greg@kroah.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: [linux-usb-devel] Re: Linux 2.6.16-rc3
Date: Wed, 15 Feb 2006 08:27:20 -0800 [thread overview]
Message-ID: <20060215162720.GA1503@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0602151103160.4598-100000@iolanthe.rowland.org>
On Wed, Feb 15, 2006 at 11:07:32AM -0500, Alan Stern wrote:
> On Tue, 14 Feb 2006, James Bottomley wrote:
>
> > On Mon, 2006-02-13 at 12:38 -0800, Greg KH wrote:
> > > > - Nasty warnings from scsi about kobject-layer things being called
> > > from
> > > > irq context. James has a push-it-to-process-context patch which
> > > sadly
> > > > assumes kmalloc() is immortal, but no other fix seems to have
> > > offered
> > > > itself.
> > >
> > > This has been the case for a long time. I don't really think there is
> > > a
> > > rush to get this fixed, but I really like James's proposed patch.
> > > It's
> > > up to him if he feels it is ready for 2.6.16 or not.
> >
> > Well, I can't solve the problem that it requires memory allocation from
> > IRQ context to operate. Based on that, it's an unsafe interface. I'm
> > going to put it inside SCSI for 2.6.16, since it's better than what we
> > have now, but I don't think we can export it globally.
>
> Could we perhaps make this safer and more general?
>
> For instance, add to struct device a "pending puts" counter and a list
> header (both protected by a global spinlock), and have a kernel thread
> periodically check the list, doing put_device wherever needed. How does
> that sound?
Sounds like a garbage collector :)
Nah, I don't think it's a good idea. James's patch should work just
fine.
thanks,
greg k-h
next prev parent reply other threads:[~2006-02-15 16:27 UTC|newest]
Thread overview: 147+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 1:19 Linux 2.6.16-rc3 Linus Torvalds
2006-02-13 3:05 ` Andrew Morton
2006-02-13 3:05 ` Andrew Morton
2006-02-13 3:22 ` Trond Myklebust
2006-02-13 3:22 ` Trond Myklebust
2006-02-13 15:09 ` Benjamin LaHaise
2006-02-13 3:28 ` Sanjoy Mahajan
2006-02-13 3:28 ` Sanjoy Mahajan
2006-02-13 3:36 ` Jeff Garzik
2006-02-13 3:36 ` Jeff Garzik
2006-02-13 4:40 ` James Bottomley
2006-02-13 4:40 ` James Bottomley
2006-02-13 5:20 ` S3 sleep regression bisected (was Re: Linux 2.6.16-rc3) Sanjoy Mahajan
2006-02-13 5:20 ` Sanjoy Mahajan
2006-02-13 7:04 ` Linux 2.6.16-rc3 Arjan van de Ven
2006-02-13 7:04 ` Arjan van de Ven
2006-02-13 8:11 ` Jens Axboe
2006-02-13 8:11 ` Jens Axboe
2006-02-13 9:22 ` Patrizio Bassi
2006-02-13 9:22 ` Patrizio Bassi
2006-02-13 10:07 ` Linux 2.6.16-rc3 - x86_64 specific outstanding bugs Andi Kleen
2006-02-13 12:02 ` Linux 2.6.16-rc3 Takashi Iwai
2006-02-13 12:02 ` Takashi Iwai
2006-02-13 12:37 ` Patrizio Bassi
2006-02-13 12:37 ` Patrizio Bassi
2006-02-13 13:13 ` Takashi Iwai
2006-02-13 13:13 ` Takashi Iwai
2006-02-13 13:31 ` Patrizio Bassi
2006-02-13 13:31 ` Patrizio Bassi
2006-02-13 14:15 ` Takashi Iwai
2006-02-13 14:15 ` Takashi Iwai
2006-02-13 14:34 ` Patrizio Bassi
2006-02-13 14:34 ` Patrizio Bassi
2006-02-13 14:39 ` Takashi Iwai
2006-02-13 14:39 ` Takashi Iwai
2006-02-13 13:09 ` Rafael J. Wysocki
2006-02-13 13:09 ` Rafael J. Wysocki
2006-02-13 13:51 ` Takashi Iwai
2006-02-13 13:51 ` Takashi Iwai
2006-02-13 19:33 ` Rafael J. Wysocki
2006-02-13 19:33 ` Rafael J. Wysocki
2006-02-13 16:36 ` Thierry Vignaud
2006-02-13 16:36 ` Thierry Vignaud
2006-02-15 6:51 ` Andrew Morton
2006-02-15 13:40 ` Thierry Vignaud
2006-02-15 20:00 ` Andrew Morton
2006-02-13 16:10 ` Adrian Bunk
2006-02-13 19:31 ` Daniel Drake
2006-02-13 20:30 ` Paul Fulghum
2006-02-13 20:38 ` Greg KH
2006-02-13 20:38 ` Greg KH
2006-02-14 16:34 ` James Bottomley
2006-02-14 16:34 ` James Bottomley
2006-02-15 16:07 ` [linux-usb-devel] " Alan Stern
2006-02-15 16:27 ` Greg KH [this message]
2006-02-15 16:35 ` Arjan van de Ven
2006-02-15 17:06 ` Greg KH
2006-02-15 21:52 ` Alan Stern
2006-02-15 21:59 ` Greg KH
2006-02-15 22:25 ` Alan Stern
2006-02-15 22:37 ` Greg KH
2006-02-15 22:51 ` Alan Stern
2006-02-15 19:58 ` James Bottomley
2006-02-15 22:24 ` Alan Stern
2006-02-16 1:56 ` James Bottomley
2006-02-16 1:56 ` James Bottomley
2006-02-16 17:12 ` Russell King
2006-02-16 17:12 ` Russell King
2006-02-16 17:34 ` Stefan Richter
2006-02-16 17:34 ` Stefan Richter
2006-02-16 17:57 ` James Bottomley
2006-02-16 17:57 ` James Bottomley
2006-02-16 18:09 ` Russell King
2006-02-16 18:09 ` Russell King
2006-02-16 18:14 ` James Bottomley
2006-02-16 18:14 ` James Bottomley
2006-02-16 18:18 ` Russell King
2006-02-16 18:18 ` Russell King
2006-02-16 19:09 ` James Bottomley
2006-02-16 19:09 ` James Bottomley
2006-02-16 20:01 ` Jens Axboe
2006-02-16 20:01 ` Jens Axboe
2006-02-18 0:42 ` James Bottomley
2006-02-18 0:42 ` James Bottomley
2006-02-18 1:00 ` Greg KH
2006-02-18 1:00 ` Greg KH
2006-02-18 2:12 ` Roland Dreier
2006-02-18 2:12 ` Roland Dreier
2006-02-18 5:30 ` Matthew Wilcox
2006-02-18 10:03 ` [linux-usb-devel] " Sergey Vlasov
2006-02-18 10:03 ` Sergey Vlasov
2006-02-19 14:30 ` James Bottomley
2006-02-19 14:30 ` James Bottomley
2006-02-23 18:43 ` James Bottomley
2006-02-23 18:43 ` James Bottomley
2006-02-18 20:16 ` Alan Stern
2006-02-18 20:16 ` Alan Stern
2006-02-19 13:51 ` James Bottomley
2006-02-19 13:51 ` James Bottomley
2006-02-14 15:19 ` [PATCH] x86: fix oprofile kernel callgraph regression Gerald Britton
2006-02-14 15:58 ` Hugh Dickins
2006-02-18 21:06 ` Linux 2.6.16-rc3 Helge Hafting
2006-02-18 21:06 ` Helge Hafting
2006-02-22 16:49 ` Ben Castricum
2006-02-13 8:46 ` Jan Dittmer
2006-02-13 9:07 ` Yoichi Yuasa
2006-02-13 15:47 ` Linus Torvalds
2006-02-13 22:11 ` Jan Dittmer
[not found] ` <3aa654a40602130231p1c476e99paa986fa198951839@mail.gmail.com>
2006-02-13 10:39 ` Andrew Morton
2006-02-13 10:54 ` Con Kolivas
2006-02-13 17:27 ` Andi Kleen
[not found] ` <3aa654a40602130251t174a5e4bg28a52a147cc9b2cf@mail.gmail.com>
2006-02-13 10:56 ` Andrew Morton
2006-02-14 2:44 ` Andrew Morton
2006-02-14 2:54 ` Dave Jones
2006-02-14 3:21 ` Andrew Morton
2006-02-13 17:09 ` 2.6.16-rc3: more regressions Adrian Bunk
2006-02-13 17:24 ` Dave Jones
2006-02-13 17:30 ` Dmitry Torokhov
2006-02-13 17:35 ` Linus Torvalds
2006-02-13 17:46 ` Dave Jones
2006-02-13 18:04 ` Linus Torvalds
2006-02-13 18:16 ` Linus Torvalds
2006-02-13 18:27 ` Dave Jones
2006-02-13 18:33 ` Linus Torvalds
2006-02-13 18:42 ` Adrian Bunk
2006-02-13 18:34 ` Adrian Bunk
2006-02-13 18:42 ` Dave Jones
2006-02-13 18:47 ` Adrian Bunk
2006-02-13 18:51 ` Alex Deucher
2006-02-13 18:50 ` Linus Torvalds
2006-02-13 19:09 ` Adrian Bunk
2006-02-13 19:17 ` Linus Torvalds
2006-02-13 19:21 ` Linus Torvalds
2006-02-13 23:27 ` Jesse Allen
2006-02-13 23:35 ` Felix Kühling
2006-02-15 16:22 ` Jesse Allen
2006-02-16 22:00 ` Dave Airlie
2006-02-14 23:55 ` Gerhard Mack
2006-02-14 0:08 ` Dave Airlie
2006-02-14 0:29 ` Dave Jones
2006-02-14 0:33 ` Dave Airlie
2006-02-13 18:33 ` Mark Fasheh
-- strict thread matches above, loose matches on Subject: below --
2006-02-15 5:58 [linux-usb-devel] Re: Linux 2.6.16-rc3 Yu, Luming
2006-02-15 5:58 ` Yu, Luming
2006-02-18 23:20 ` Sanjoy Mahajan
2006-02-20 8:07 Yu, Luming
2006-02-20 8:07 ` Yu, Luming
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=20060215162720.GA1503@kroah.com \
--to=greg@kroah.com \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.