Re: MAX_ARG_PAGES has no effect?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Nick Matteo <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux