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

From: Alan Cox (
Date: Thu Nov 14 2002 - 20:04:13 EST

On Fri, 2002-11-15 at 00:31, Pete Zaitcev wrote:
> > Date: Thu, 14 Nov 2002 16:14:29 -0800
> 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).

vmalloc will allocate 12K of address space or so and will actually die
first with fragmentation problems. We should also keep small numbers of
groups inline otherwise you are going to upset the "million threads"
people 8)

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