From: corbet@lwn.net (Jonathan Corbet)
To: Greg KH <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] rwsem removal from kobj_map
Date: Fri, 18 Feb 2005 16:33:03 -0700 [thread overview]
Message-ID: <20050218233303.6336.qmail@lwn.net> (raw)
In-Reply-To: Your message of "Fri, 18 Feb 2005 13:28:38 PST." <20050218212838.GA21989@kroah.com>
[Since this is something I once looked at too...]
> struct kobj_map *kobj_map_init(kobj_probe_t *base_probe,
> - struct subsystem *s)
> + struct subsystem *s, struct semaphore *sem)
The only reason kobj_map_init() needed the subsystem argument was for
the semaphore. Since you're passing that separately now, I would think
that the subsystem argument could simply go away altogether.
Once that's done, you should be able to delete cdev_subsys as well; when
I cleaned that stuff up, I only left it there for kobj_map().
jon
Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net
next prev parent reply other threads:[~2005-02-18 23:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 21:28 Greg KH
2005-02-18 23:33 ` Jonathan Corbet [this message]
2005-02-22 18:48 ` Greg KH
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=20050218233303.6336.qmail@lwn.net \
--to=corbet@lwn.net \
--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®