From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: David Brownell <david-b@pacbell.net>
Cc: Greg KH <gregkh@suse.de>,
Linux Kernel list <linux-kernel@vger.kernel.org>,
Andres Salomon <dilinger@debian.org>
Subject: Re: [patch 2.6.21-rc5-git 1/2] fix hotplug for legacy platform drivers
Date: Tue, 3 Apr 2007 10:52:53 +0200 [thread overview]
Message-ID: <20070403105253.743ef814@gondolin.boeblingen.de.ibm.com> (raw)
In-Reply-To: <200704020959.28875.david-b@pacbell.net>
On Mon, 2 Apr 2007 09:59:28 -0700,
David Brownell <david-b@pacbell.net> wrote:
> But long term, I wonder. Isn't "no kevents issued" an extremely
> blunt tool, which could cause lots of damage? It might be better
> to have selective filters, one per event family: core (add/remove),
> online/offline, mount/unmount, etc.
It all depends on your use case :) But yes, we could introduce some
flags that selectively filter out some groups of uevents.
> But in general it's worth thinking about. The comments on that
> "suppress all kevents" patch didn't include any motivation at all.
> Why do you want to prevent all kevents, rather than just a subset?
Currently, some drivers (like firmware_class) return an error code in
their uevent function in order to suppress uevents until they did some
setup. It seemed cleaner to use uevent_suppress and filter until they
were ready. For s390, we have the problem that we get a storm of
uevents for devices which aren't useable after all; we can use
uevent_suppress to make sure that userspace doesn't know anything about
those devices until we're really sure we want to keep them.
next prev parent reply other threads:[~2007-04-03 8:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 21:55 David Brownell
2007-04-02 10:49 ` Cornelia Huck
2007-04-02 16:59 ` David Brownell
2007-04-03 8:52 ` Cornelia Huck [this message]
2007-04-02 10:55 ` Russell King
2007-04-02 16:39 ` David Brownell
2007-04-02 20:10 ` Dmitry Torokhov
2007-04-02 20:17 ` David Brownell
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=20070403105253.743ef814@gondolin.boeblingen.de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=david-b@pacbell.net \
--cc=dilinger@debian.org \
--cc=gregkh@suse.de \
--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®