Re: [BUG] Linux 2.6.23-rc9 and MAX_ARG_PAGES

From: Linus Torvalds
Date: Thu Oct 04 2007 - 20:12:59 EST




On Fri, 5 Oct 2007, Paul Mackerras wrote:
> Linus Torvalds writes:
> >
> > Well, since others definitely don't see this, including me, and I can do
> > things like 62MB exec arrays:
> >
> > [torvalds@woody linux]$ echo $(find /home/torvalds/) | wc
> > 1 883304 63000962
>
> That wouldn't actually do an exec, assuming you're using bash, since
> echo is a shell builtin in bash. You'd need to do /bin/echo.

Right you are, silly me. But yes, it works for me even with that (and
since I downloaded the gcc source tree, it now has six more megs of
arguments).

I also tested that "ulimit -s" seems to do the right thing for me.

I'm also assuming Mathieu is running x86 (or x86-64): HP-PA has a stack
that grows upwards, and that has traditionally been exciting.

IA64 also has some strange things for the register backing store.

Linus
-
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/