lkml.org 
[lkml]   [2008]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 7 Jan 2008 21:30:54 +0000
FromAlan Cox <>
SubjectRe: regression: sysctl_check changes in 2.6.24 are O(n) resulting in slow creation of 10000 network interfaces
> I think that would be a better option than to complicate sysctl.c
> for this uncommon case.

What is so complicated about hashing the entries if you are checking for
duplicates when debugging. You can set the hash function to "0" and the
array size to 1 when the debug is off and it'll all go away nicely


\
 
 \ /
  Last update: 2008-01-07 22:37    [from the cache]
©2003-2008