Re: [BK PATCH 1/2] Remove NGROUPS hardlimit (resend w/o qsort)

From: Pete Zaitcev (
Date: Thu Nov 14 2002 - 19:31:56 EST

> Date: Thu, 14 Nov 2002 16:14:29 -0800
> From: Tim Hockin <>

> > 1. Why are arrays vmalloc-ed? This is a goochism which you have
> > to justify.
> Because they can be as large as root allows, and when we used kmalloc()
> it would actually fail from time to time.

OK. I think in your case it's probably harmless. I thought
that two (order 1) 4K pages can hold 2000 4 byte group IDs,
and that "ought to be enough for anybody". If you envision
10,000 groups, then perhaps you are right, except that it may
be about time to think about your data structures a little more.
I'll let Andi to remind you about the performance impact (vmalloc
area is outside of the big TLB area).

> > 2. How do these changes sit with LLNL's changes to increase
> > number of groups that NFS client can support? It's not
> > a showstopper, but would be nice if you two cooperated.
> hmm, I haven't heard anything about them - can you offer an email or URL?

The sad part is that the patch was around since 2000, but the
effort to get it in was a little half-hearted, perhaps.
I am thinking about reviving it.

-- Pete
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:35 EST