MAX_ARG_PAGES has no effect?
From: Nick Matteo (kundor_at_kundor.org)
Date: 08/31/05
- Previous message: Yani Ioannou: "Re: [patch] IBM HDAPS accelerometer driver."
- Next in thread: Ingo Molnar: "Re: MAX_ARG_PAGES has no effect?"
- Reply: Ingo Molnar: "Re: MAX_ARG_PAGES has no effect?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 20:18:41 -0400 To: linux-kernel@vger.kernel.org
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?
I am running 2.6.13 on amd64.
Thanks,
Nick Matteo
-
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/
- Previous message: Yani Ioannou: "Re: [patch] IBM HDAPS accelerometer driver."
- Next in thread: Ingo Molnar: "Re: MAX_ARG_PAGES has no effect?"
- Reply: Ingo Molnar: "Re: MAX_ARG_PAGES has no effect?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: udev and devfs - The final word
... >> device enumeration. ... > Oh, don't look too closely at some pseudo-code,
it's not like the code ... things to grep for and checking the results of greps as we go)
- then ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: Strange disk corruption with Linux >= 2.6.13
... Non-volatile memory driver v1.2 ... Freeing unused kernel memory: 148k
freed ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: openat()
... On Wed, 9 Nov 2005, Ulrich Drepper wrote: ... > declared this is a good idea
and I can only stress that it is really essential ... programs which have to deal with
lots of lookups deep in a directory tree ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - "PCI: Error while updating region" with es1371 module
... insmod errors can be caused by incorrect module parameters, ... send
the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - RE: Linux 2.6.5 emu10k1 module FAILS, built-in OK.
... grep: networking/netif-msg.txt: Permission denied ... this is with _SMP_ kernel
only, ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)