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

Pete Zaitcev (zaitcev@redhat.com)
Thu, 14 Nov 2002 19:31:56 -0500


> Date: Thu, 14 Nov 2002 16:14:29 -0800
> From: Tim Hockin <thockin@sun.com>

> > 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?

http://www.uwsg.iu.edu/hypermail/linux/kernel/0010.0/0788.html

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 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/