[lkml]   [2005]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: MAX_ARG_PAGES has no effect?

* Nick Matteo <> 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)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-31 14:13    [W:0.074 / U:4.968 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site