Re: serious performance regression due to NX patch
From: Ingo Molnar
Date: Sun Jul 11 2004 - 04:43:09 EST
On Sun, 11 Jul 2004, Ingo Molnar wrote:
> ok, agreed. I'll check that it still does the right thing on x86.
it doesnt seem to do the right thing for !PT_GNU_STACK applications on
x86:
$ uname -a
Linux saturn 2.6.7-mm7 #13 SMP Sun Jul 11 10:20:45 CEST 2004 i686 athlon
i386 GNU/Linux
$ ./cat-verylowaddress /proc/self/maps
00048000-0004c000 r-xp 00000000 03:41 1046754 /home/mingo/noexec/cat-verylowaddr
0004c000-0004d000 rw-p 00003000 03:41 1046754 /home/mingo/noexec/cat-verylowaddr
0004d000-0006e000 rw-p 0004d000 00:00 0
00aca000-00adf000 r-xp 00000000 03:41 3434109 /lib/ld-2.3.3.so
00adf000-00ae0000 r--p 00014000 03:41 3434109 /lib/ld-2.3.3.so
00ae0000-00ae1000 rw-p 00015000 03:41 3434109 /lib/ld-2.3.3.so
00ae3000-00bf8000 r-xp 00000000 03:41 3434110 /lib/tls/libc-2.3.3.so
00bf8000-00bfa000 r--p 00115000 03:41 3434110 /lib/tls/libc-2.3.3.so
00bfa000-00bfc000 rw-p 00117000 03:41 3434110 /lib/tls/libc-2.3.3.so
00bfc000-00bfe000 rw-p 00bfc000 00:00 0
b7db5000-b7db6000 r--p 00cfd000 03:41 3735973 /usr/lib/locale/locale-archive
b7db6000-b7de3000 r--p 00ccc000 03:41 3735973 /usr/lib/locale/locale-archive
b7de3000-b7de9000 r--p 00cc3000 03:41 3735973 /usr/lib/locale/locale-archive
b7de9000-b7fe9000 r--p 00000000 03:41 3735973 /usr/lib/locale/locale-archive
b7fe9000-b7fea000 rw-p b7fe9000 00:00 0
bfffe000-c0000000 rw-p bfffe000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0
i'll come up with a patch that solves the ia64 problem and keeps x86
working too (unless you beat me to it).
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/