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

* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-31 14:13    [W:0.096 / U:1.864 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site