[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <617E1C2C70743745A92448908E030B2A018B17DE@scsmsx411.amr.corp.intel.com>
Date: Fri, 25 May 2007 11:48:09 -0700
From: "Luck, Tony" <tony.luck@...el.com>
To: "Peter Zijlstra" <a.p.zijlstra@...llo.nl>
Cc: "Ollie Wild" <aaw@...gle.com>, <linux-kernel@...r.kernel.org>,
<parisc-linux@...ts.parisc-linux.org>, <linux-mm@...ck.org>,
<linux-arch@...r.kernel.org>, "Andrew Morton" <akpm@...l.org>,
"Ingo Molnar" <mingo@...e.hu>, "Andi Kleen" <ak@...e.de>
Subject: RE: [patch] removes MAX_ARG_PAGES
> I just tried this on an Altix from the test lab, and ia32 bash just
> started.
I don't have any native x86 binaries on my Madison-based testbox, so my
test case was to compile a simple program that counted total length of
argument strings on an x86 box, and copy it to my ia64 box. So that I
wouldn't have to copy over a bunch of libraries too, I compiled it
with -static. This is the test case that "hung" my system (re-running
it today from /dev/tty1 instead of from an xterm, I see that it actually
oopsed in rb_next()). I wasn't even running with a long arglist. Just
"*" for my home directory (19 files/directories = ~170 bytes).
-Tony
My test program. Compile on ia32 box with "cc -static -o args args.c"
---- begin args.c ----
main(int argc, char **argv)
{
int n;
printf("argc = %d\n", argc);
n = 0;
while (--argc)
n += strlen(*++argv);
printf("bytes = %d\n", n);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists