lkml.org 
[lkml]   [2002]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectget rid of NGROUPS limit - prelim patch
Date
Hey all, as promised a few weeks back, I am cleaning up our patch to get
rid of the NGROUPS hard limit.

Here is the URL to the preliminary patch. THIS IS NOT COMPLETE. I wanted
to post it here so I could get any feedback on it. This should work fine
on i386. Other arch's I am shooting in the dark (there are a couple FIXME
comments - can you answer them?). Other archs are not complete in this
patch.

http://www.hockin.org/~thockin/linux-kernel/ngroups-2.4-prelim.diff

Summary:
* add lib/bsearch.c
* add lib/qsort.c
* add include/linux/groups.h (is this better in an existing header?)
* add ngroups_max - sysctl controllable upper bound
* change current->groups[] to refcounted dynamic memory

Comments please? If I don't have any major complaints, I'll push on. I
really would like some feedback on the other archs, if possible.

Thanks

Tim

-
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 13:27    [W:0.025 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site