RE: [patch 0/3] no MAX_ARG_PAGES -v2
"Luck, Tony" <[email protected]> Fri, 15 Jun 2007 11:49:04 -0700
| Newsgroups | gmane.linux.ports.hppa,gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <617E1C2C70743745A92448908E030B2A01B3467D@scsmsx411.amr.corp.intel.com> |
> > > A good heuristic, though, might be to limit > > > argument size to a percentage (say 25%) of maximum stack size and > > > validate this inside copy_strings(). > > > > This seems to do: > > Looks good. Me too. As I increase the number of arguments, I now have a smooth cutover from "works" to "Arg list too long", without the in between zone where the process is killed. The IA-32 compatability exec path is now working too (I didn't stress it too hard, but I did try argument lists up to a megabyte). Acked-by: Tony Luck <[email protected]>