From: Greg KH <greg@kroah.com>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-kernel@vger.kernel.org, viro@parcelfarce.linux.theplanet.co.uk
Subject: Re: [PATCH] cdev 1/2: Eliminate /sys/cdev
Date: Fri, 12 Mar 2004 15:20:44 -0800 [thread overview]
Message-ID: <20040312232043.GA16623@kroah.com> (raw)
In-Reply-To: <20040312183256.1331.qmail@lwn.net>
On Fri, Mar 12, 2004 at 11:32:56AM -0700, Jonathan Corbet wrote:
> This is the first of two patches designed to make life easier for authors
> of device driver books - and, with luck, driver authors too.
>
> /sys/cdev is, according to Al, a mistake which was never really meant to
> exist. I believe nothing uses it currently - there isn't a whole lot there
> to use. Its existence takes up system resources, and also requires drivers
> to deal with the cdev's embedded kobject in their failure paths. The
> following patch (against 2.6.4) makes it all go away.
Yeah! I've been wanting this change for a while too. I've applied it
and added it to my driver-2.6 tree to have it show up in the next -mm
release. If it looks sane there I'll send it to Linus.
> OK, almost all. We have to keep (but not register) cdev_subsys because
> it's rwsem is needed to control access to cdev_map.
That's fine and is ok.
thanks again.
greg k-h
prev parent reply other threads:[~2004-03-12 23:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 18:32 [PATCH] cdev 1/2: Eliminate /sys/cdev Jonathan Corbet
2004-03-12 23:20 ` Greg KH [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=20040312232043.GA16623@kroah.com \
--to=greg@kroah.com \
--cc=corbet@lwn.net \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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