mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] binfmt: turn MAX_ARG_PAGES into a sysctl tunable
Date: Fri, 23 Jun 2006 11:18:02 +0200	[thread overview]
Message-ID: <20060623091801.GB5343@elf.ucw.cz> (raw)
In-Reply-To: <1150526492.28517.26.camel@lappy>

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@chello.nl>
> > 
> > ....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

      reply	other threads:[~2006-06-23  9:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 14:58 Peter Zijlstra
2006-06-14 15:53 ` Arjan van de Ven
2006-06-14 16:19   ` Randy.Dunlap
2006-06-15 10:20   ` Peter Zijlstra
2006-06-16 20:40 ` Pavel Machek
2006-06-17  6:41   ` Peter Zijlstra
2006-06-23  9:18     ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060623091801.GB5343@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®