From: Ingo Molnar <mingo@elte.hu>
To: Nick Matteo <kundor@kundor.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: MAX_ARG_PAGES has no effect?
Date: Wed, 31 Aug 2005 14:11:44 +0200 [thread overview]
Message-ID: <20050831121144.GA13578@elte.hu> (raw)
In-Reply-To: <4314F761.2050908@kundor.org>
* Nick Matteo <kundor@kundor.org> wrote:
> The other day I was running a grep on a big directory tree and got a
> "Argument list too long" error. Since I'd like to have this work
> without messing with find and xargs each time, I went into
> include/linux/binfmts.h and changed
>
> #define MAX_ARG_PAGES 32
>
> to
>
> #define MAX_ARG_PAGES 64
>
> I recompiled and installed the kernel, but there's no change (getconf
> ARG_MAX still gives 131072.) What am I missing?
MAX_ARG_PAGES should work just fine. I think the 'getconf ARG_MAX'
output is hardcoded. (because the kernel does not provide the
information dynamically)
Ingo
next prev parent reply other threads:[~2005-08-31 12:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-31 0:18 MAX_ARG_PAGES has no effect? Nick Matteo
2005-08-31 12:11 ` Ingo Molnar [this message]
2005-08-31 12:25 ` Jakub Jelinek
2005-08-31 23:29 ` Andi Kleen
2005-09-01 6:57 ` Ingo Molnar
2005-09-01 7:26 ` Andi Kleen
2005-09-01 8:30 ` Ingo Molnar
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=20050831121144.GA13578@elte.hu \
--to=mingo@elte.hu \
--cc=kundor@kundor.org \
--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