lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 10 Aug 2004 11:58:05 -0500
FromJosh Aas <>
Subjectbkl cleanup in do_sysctl
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2010