Date: Sat, 8 Jan 2011 16:13:44 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 elf_machdep.c machdep.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include vmparam.h src/sys/compat/freebsd32 freebsd32_misc.c src/sys/compat/ia32 ia32_sysvec.c ia32_util.h src/sys/kern kern_exec.c src/sys/sys ... Message-ID: <201101081614.p08GEAwo032552@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2011-01-08 16:13:44 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 elf_machdep.c machdep.c
sys/amd64/ia32 ia32_signal.c
sys/amd64/include vmparam.h
sys/compat/freebsd32 freebsd32_misc.c
sys/compat/ia32 ia32_sysvec.c ia32_util.h
sys/kern kern_exec.c
sys/sys imgact.h sysent.h
Log:
SVN rev 217151 on 2011-01-08 16:13:44Z by kib
Create shared (readonly) page. Each ABI may specify the use of page by
setting SV_SHP flag and providing pointer to the vm object and mapping
address. Provide simple allocator to carve space in the page, tailored
to put the code with alignment restrictions.
Enable shared page use for amd64, both native and 32bit FreeBSD
binaries. Page is private mapped at the top of the user address
space, moving a start of the stack one page down. Move signal
trampoline code from the top of the stack to the shared page.
Reviewed by: alc
Revision Changes Path
1.35 +4 -2 src/sys/amd64/amd64/elf_machdep.c
1.737 +1 -1 src/sys/amd64/amd64/machdep.c
1.35 +3 -2 src/sys/amd64/ia32/ia32_signal.c
1.64 +2 -1 src/sys/amd64/include/vmparam.h
1.117 +5 -2 src/sys/compat/freebsd32/freebsd32_misc.c
1.39 +11 -4 src/sys/compat/ia32/ia32_sysvec.c
1.12 +6 -2 src/sys/compat/ia32/ia32_util.h
1.360 +85 -4 src/sys/kern/kern_exec.c
1.53 +3 -0 src/sys/sys/imgact.h
1.71 +12 -0 src/sys/sys/sysent.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101081614.p08GEAwo032552>
