From: Greg KH <greg@kroah.com>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: linux-kernel@vger.kernel.org, david-b@pacbell.net
Subject: Re: [PATCH] Driver Core: remove driver model detach_state
Date: Wed, 18 May 2005 09:11:43 -0700 [thread overview]
Message-ID: <20050518161143.GB16756@kroah.com> (raw)
In-Reply-To: <1116411191.27701.4.camel@dhcp-188.off.vrfy.org>
On Wed, May 18, 2005 at 12:13:11PM +0200, Kay Sievers wrote:
> On Tue, 2005-05-17 at 15:12 -0700, Greg KH wrote:
> > [PATCH] Driver Core: remove driver model detach_state
> >
> > The driver model has a "detach_state" mechanism that:
> >
> > - Has never been used by any in-kernel drive;
> > - Is superfluous, since driver remove() methods can do the same thing;
> > - Became buggy when the suspend() parameter changed semantics and type;
> > - Could self-deadlock when called from certain suspend contexts;
> > - Is effectively wasted documentation, object code, and headspace.
> >
> > This removes that "detach_state" mechanism; net code shrink, as well
> > as a per-device saving in the driver model and sysfs.
>
> Huh, we need to fix a lot of userspace programs now. libsysfs depends on
> finding that file, udev waits for this to recognize sysfs population. I
> will go fix this where I know this is used, but be prepared for stupid
> failures... :)
Yeah, good catch, so that's why udev stoped working for me on some
custom rules...
Anyway, I think it was pretty stupid for libsysfs to depend on that
file, I'll work on fixing that up. Luckily, no one uses libsysfs :)
thanks,
greg k-h
next prev parent reply other threads:[~2005-05-18 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 22:11 [GIT PATCH] Driver Core patches for 2.6.12-rc4 Greg KH
2005-05-17 22:12 ` [PATCH] Driver Core: pm diagnostics update, check for errors Greg KH
2005-05-17 22:12 ` [PATCH] Driver Core: remove driver model detach_state Greg KH
2005-05-18 10:13 ` Kay Sievers
2005-05-18 16:11 ` Greg KH [this message]
2005-05-18 22:53 ` [GIT PATCH] Driver Core patches for 2.6.12-rc4 Greg KH
2005-05-18 23:45 ` Linus Torvalds
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=20050518161143.GB16756@kroah.com \
--to=greg@kroah.com \
--cc=david-b@pacbell.net \
--cc=kay.sievers@vrfy.org \
--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®