Re: [OT] Re: The vi editor causes brain damage

From: Paolo Ornati
Date: Sun Aug 19 2007 - 08:40:57 EST


On Sun, 19 Aug 2007 14:31:21 +0200
Benny Amorsen <benny+usenet@xxxxxxxxxx> wrote:

> >>>>> "WT" == Willy Tarreau <w@xxxxxx> writes:
>
> WT> Under unix, the shell resolves "*" and passes the 10000 file names
> WT> to the "rm" command. Now, execve() may fail because 10000 names in
> WT> arguments can require too much memory. That's why find and xargs
> WT> were invented!
>
> It would be very handy if the argument memory space was expanded.
> Many years ago I hit the limit regularly on Solaris, and going to
> Linux with its comparatively large limit was a joy. Now it happens to
> me quite often on Linux as well.
>

done :)

commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba
Author: Ollie Wild <aaw@xxxxxxxxxx>
Date: Thu Jul 19 01:48:16 2007 -0700

mm: variable length argument support

Remove the arg+env limit of MAX_ARG_PAGES by copying the strings
directly from the old mm into the new mm.

--
Paolo Ornati
Linux 2.6.23-rc3-g2a677896 on x86_64
-
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/