On Thu, Dec 04, 2003 at 03:09:15PM -0800, H. Peter Anvin wrote:
> > You either allocate 2^20 bits for every user, or you allocate it as needed
> > (and handle alloc failures when they are least expected) or you sysctl it
> > and let the admin decide early on whether she wants to allow large numbers
> > of pseudo-devs.

> I can't imagine that these are allocated left and center... it should
> pretty much be mount and nothing else.  So yes, it's some more
> complexity but not really significant.
> 
> 2^20 bits = 128K, which falls in the "it's a bit on the expensive side,
> but doable" class.
> 
> Fixed limits suck.  And yes, I'm also guilty of having put them in in
> the past.  They still suck.


I think we agree about fixed limits, I'm just wary to spend 128k of every
user's box for it, which is why I mentioned sysctl.

Tim
-- 
Tim Hockin
Sun Microsystems, Linux Software Engineering
[EMAIL PROTECTED]
All opinions are my own, not Sun's

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to