Re: [RFC][PATCH] binfmt: turn MAX_ARG_PAGES into a sysctl tunable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> > > Some folks find 128KB of env+arg space too little. Solaris provides them with
> > > 1MB. Manually changing MAX_ARG_PAGES worked for them so far, however they
> > > would like to run the supported vendor kernel.
> > > 
> > > In the interrest of not penalizing everybody with the overhead of just
> > > setting it larger, provide a sysctl to change it.
> > 
> > I very muh like that idea.
> > 
> > > Compiles and boots on i386.
> > > 
> > > Signed-off-by: Peter Zijlstra <[email protected]>
> > 
> > ....but does is also work if you keep changing that value in the tight
> > loop while trying to work with the system?
> > 
> 
> Yes, I've added a bprm local copy of max_arg_pages:

Thanks for explanation.

I've been upping that value 10 times on all my systems, so yes, I'd
like to see that configurable.

You probably want to mail it to lkml, cc: akpm, and see what happens.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux