Re: [patch] remove MAX_ARG_PAGES
From: Ingo Molnar
Date: Fri Dec 29 2006 - 17:00:38 EST
* Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
> On Fri, Dec 29, 2006 at 09:03:57PM +0100, Ingo Molnar wrote:
> > FYI, i have forward ported your MAX_ARG_PAGES limit removal patch to
> > 2.6.20-rc2 and have included it in the -rt kernel. It's working great -
> > i can now finally do a "ls -t patches/*.patch" in my patch repository -
> > something i havent been able to do for years ;-)
>
> How do the various autoconf stuff react to this? Eg, I notice the
> following in various configure scripts:
>
> checking the maximum length of command line arguments... 32768
yes, that's how libtool works, it goes from 32K downwards to figure out
a maximum. I dont see a problem there.
you can find a few other variants at:
http://www.google.com/codesearch?q=%22checking+the+maximum+length+of+command+line+arguments%22&hl=en&btnG=Search+Code
worst-case the test-command would get a segfault from the default stack
limit. (8MB on Fedora)
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/