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

From: Pavel Machek
Date: Fri Jun 23 2006 - 05:17:37 EST


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 <a.p.zijlstra@xxxxxxxxx>
> >
> > ....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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/