kernel_optimize_test/include
Benjamin Herrenschmidt 547ee84cea [PATCH] ppc64: Improve mapping of vDSO
This patch reworks the way the ppc64 is mapped in user memory by the kernel
to make it more robust against possible collisions with executable
segments.  Instead of just whacking a VMA at 1Mb, I now use
get_unmapped_area() with a hint, and I moved the mapping of the vDSO to
after the mapping of the various ELF segments and of the interpreter, so
that conflicts get caught properly (it still has to be before
create_elf_tables since the later will fill the AT_SYSINFO_EHDR with the
proper address).

While I was at it, I also changed the 32 and 64 bits vDSO's to link at
their "natural" address of 1Mb instead of 0.  This is the address where
they are normally mapped in absence of conflict.  By doing so, it should be
possible to properly prelink one it's been verified to work on glibc.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:24:35 -07:00
..
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-alpha Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-arm [PATCH] arm: add comment about dma_supported() 2005-04-16 15:23:57 -07:00
asm-arm26 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-frv Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-generic Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-h8300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-i386 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-m32r Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-m68k [PATCH] ppc32: fix compilation error in include/asm-m68k/setup.h 2005-04-16 15:24:27 -07:00
asm-m68knommu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-ppc [PATCH] ppc64: very basic desktop g5 sound support 2005-04-16 15:24:32 -07:00
asm-ppc64 [PATCH] ppc64: Improve mapping of vDSO 2005-04-16 15:24:35 -07:00
asm-s390 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sh64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-sparc64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-um Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-v850 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-x86_64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
linux [PATCH] Fix linux/atalk.h header 2005-04-16 15:24:09 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00