From: Josh Aas <josha@sgi.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
steiner@sgi.com
Subject: bkl cleanup in do_sysctl
Date: Tue, 10 Aug 2004 11:58:05 -0500 [thread overview]
Message-ID: <4118FE9D.2050304@sgi.com> (raw)
I'd like to hear people's thoughts on replacing the bkl in do_sysctl
with a localized spin lock that protects the sysctl structures. Instead
of grabbing the bkl, anyone that needs to mess with those values could
grab the localized lock (1 to protect all structures). Such a localized
lock would allow us to get rid of bkl usage in at least one other place
as well (do_coredump). In order to do this though, we would have to make
sure all code that grabs the bkl instead of the localized lock while
using sysctl values switches to the new lock. Might be a big job, but
perhaps it would be a good one to start after 2.6.8 is out the door.
Thoughts? Comments?
--
Josh Aas
Silicon Graphics, Inc. (SGI)
Linux System Software
651-683-3068
next reply other threads:[~2004-08-10 17:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 16:58 Josh Aas [this message]
2004-08-10 17:28 ` bkl cleanup in do_sysctl Dave Hansen
2004-08-10 18:51 ` Lee Revell
2004-08-10 19:16 ` Roland Dreier
2004-08-10 19:21 ` Lee Revell
2004-08-10 19:46 ` Hans Reiser
2004-08-10 20:10 ` Lee Revell
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=4118FE9D.2050304@sgi.com \
--to=josha@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=steiner@sgi.com \
/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