public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* bkl cleanup in do_sysctl
@ 2004-08-10 16:58 Josh Aas
  2004-08-10 17:28 ` Dave Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Josh Aas @ 2004-08-10 16:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List, steiner

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-10 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10 16:58 bkl cleanup in do_sysctl Josh Aas
2004-08-10 17:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox