cvs commit: src/sys/amd64/amd64 machdep.c pmap.c src/sys/arm/arm
pmap.c src/sys/arm/at91 kb920x_machdep.c src/sys/arm/sa11x0
assabet_machdep.c src/sys/arm/xscale/i80321 ep80219_machdep.c
iq31244_machdep.c src/sys/arm/xscale/i8134x crb_machdep.c ...
Konstantin Belousov
kib at FreeBSD.org
Sat Jan 19 10:15:07 PST 2008
kib 2008-01-19 18:15:07 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7_0)
sys/amd64/amd64 machdep.c pmap.c
sys/arm/arm pmap.c
sys/arm/at91 kb920x_machdep.c
sys/arm/sa11x0 assabet_machdep.c
sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c
sys/arm/xscale/i8134x crb_machdep.c
sys/arm/xscale/ixp425 avila_machdep.c
sys/compat/pecoff imgact_pecoff.c
sys/compat/svr4 imgact_svr4.c
sys/i386/i386 machdep.c pmap.c
sys/i386/ibcs2 imgact_coff.c
sys/i386/linux imgact_linux.c
sys/ia64/ia64 machdep.c pmap.c
sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c
kern_exec.c kern_fork.c kern_kse.c
kern_proc.c kern_sig.c kern_thr.c
kern_thread.c
sys/pc98/pc98 machdep.c
sys/powerpc/powerpc machdep.c pmap_dispatch.c
sys/sparc64/sparc64 machdep.c pmap.c
sys/sun4v/sun4v machdep.c pmap.c
sys/sys proc.h signalvar.h
sys/vm pmap.h vm_extern.h vm_glue.c vm_map.c
Log:
MFC fix for the panic("vm_thread_new: kstack allocation failed") and
silent NULL pointer dereference in the i386 and sparc64 pmap_pinit()
when the kmem_alloc_nofault() failed to allocate address space. Both
functions now return error instead of panicing or dereferencing NULL.
The reason for MFCing this so late in release cycle is, according to
marius@, because
> it fixes the crashing (though no panic) of the test suite
> of the graphic/OpenEXR port on sparc64. This test suite is run
> (and required to succeed) during the package build and that's
> why portmgr@ bitch about at it as OpenEXR is a dependency of KDE
> which in turn is supposed to end up on the release CD images.
Revisions MFCed:
1.677 of src/sys/amd64/amd64/machdep.c
1.592 of src/sys/amd64/amd64/pmap.c
1.88 of src/sys/arm/arm/pmap.c
1.27 of src/sys/arm/at91/kb920x_machdep.c
1.22 of src/sys/arm/sa11x0/assabet_machdep.c
1.8 of src/sys/arm/xscale/i80321/ep80219_machdep.c
1.29 of src/sys/arm/xscale/i80321/iq31244_machdep.c
1.3 of src/sys/arm/xscale/i8134x/crb_machdep.c
1.6 of src/sys/arm/xscale/ixp425/avila_machdep.c
1.41 of src/sys/compat/pecoff/imgact_pecoff.c
1.26 of src/sys/compat/svr4/imgact_svr4.c
1.660 of src/sys/i386/i386/machdep.c
1.596 of src/sys/i386/i386/pmap.c
1.68 of src/sys/i386/ibcs2/imgact_coff.c
1.56 of src/sys/i386/linux/imgact_linux.c
1.226 of src/sys/ia64/ia64/machdep.c
1.192 of src/sys/ia64/ia64/pmap.c
1.102 of src/sys/kern/imgact_aout.c
1.179 of src/sys/kern/imgact_elf.c
1.56 of src/sys/kern/imgact_gzip.c
1.310 of src/sys/kern/kern_exec.c
1.287 of src/sys/kern/kern_fork.c
1.236 of src/sys/kern/kern_kse.c
1.253 of src/sys/kern/kern_proc.c
1.352 of src/sys/kern/kern_sig.c
1.63 of src/sys/kern/kern_thr.c
1.257 of src/sys/kern/kern_thread.c
1.397 of src/sys/pc98/pc98/machdep.c
1.104 of src/sys/powerpc/powerpc/machdep.c
1.10 of src/sys/powerpc/powerpc/pmap_dispatch.c
1.139 of src/sys/sparc64/sparc64/machdep.c
1.167 of src/sys/sparc64/sparc64/pmap.c
1.16 of src/sys/sun4v/sun4v/machdep.c
1.40 of src/sys/sun4v/sun4v/pmap.c
1.493 of src/sys/sys/proc.h
1.78 of src/sys/sys/signalvar.h
1.80 of src/sys/vm/pmap.h
1.79 of src/sys/vm/vm_extern.h
1.226 of src/sys/vm/vm_glue.c
1.390 of src/sys/vm/vm_map.c
Requested by: marius
Tested by: Peter Holm, marius (make universe and sparc64 runs)
Approved by: re (kensmith)
Revision Changes Path
1.675.2.2.2.1 +1 -1 src/sys/amd64/amd64/machdep.c
1.590.2.3.2.1 +3 -1 src/sys/amd64/amd64/pmap.c
1.86.2.1.2.1 +2 -1 src/sys/arm/arm/pmap.c
1.23.2.1.2.1 +1 -1 src/sys/arm/at91/kb920x_machdep.c
1.21.4.1 +1 -1 src/sys/arm/sa11x0/assabet_machdep.c
1.7.4.1 +1 -1 src/sys/arm/xscale/i80321/ep80219_machdep.c
1.28.4.1 +1 -1 src/sys/arm/xscale/i80321/iq31244_machdep.c
1.2.4.1 +1 -1 src/sys/arm/xscale/i8134x/crb_machdep.c
1.5.4.1 +1 -1 src/sys/arm/xscale/ixp425/avila_machdep.c
1.40.4.1 +5 -1 src/sys/compat/pecoff/imgact_pecoff.c
1.25.14.1 +3 -1 src/sys/compat/svr4/imgact_svr4.c
1.658.2.1.2.1 +1 -1 src/sys/i386/i386/machdep.c
1.594.2.4.2.1 +8 -1 src/sys/i386/i386/pmap.c
1.67.4.1 +3 -1 src/sys/i386/ibcs2/imgact_coff.c
1.55.4.1 +3 -1 src/sys/i386/linux/imgact_linux.c
1.225.4.1 +1 -1 src/sys/ia64/ia64/machdep.c
1.191.4.1 +2 -1 src/sys/ia64/ia64/pmap.c
1.101.4.1 +3 -1 src/sys/kern/imgact_aout.c
1.178.2.2.2.1 +3 -1 src/sys/kern/imgact_elf.c
1.55.4.1 +5 -1 src/sys/kern/imgact_gzip.c
1.308.2.1.2.1 +3 -1 src/sys/kern/kern_exec.c
1.282.2.1.2.1 +34 -7 src/sys/kern/kern_fork.c
1.235.4.1 +30 -13 src/sys/kern/kern_kse.c
1.252.2.2.2.1 +13 -15 src/sys/kern/kern_proc.c
1.349.2.1.2.1 +1 -1 src/sys/kern/kern_sig.c
1.62.4.1 +2 -0 src/sys/kern/kern_thr.c
1.255.2.1.2.1 +22 -5 src/sys/kern/kern_thread.c
1.396.4.1 +1 -1 src/sys/pc98/pc98/machdep.c
1.103.2.1.2.1 +2 -2 src/sys/powerpc/powerpc/machdep.c
1.9.4.1 +2 -1 src/sys/powerpc/powerpc/pmap_dispatch.c
1.138.4.1 +1 -1 src/sys/sparc64/sparc64/machdep.c
1.166.4.1 +6 -1 src/sys/sparc64/sparc64/pmap.c
1.15.4.1 +1 -1 src/sys/sun4v/sun4v/machdep.c
1.39.4.1 +2 -1 src/sys/sun4v/sun4v/pmap.c
1.491.2.1.2.1 +1 -0 src/sys/sys/proc.h
1.77.4.1 +1 -0 src/sys/sys/signalvar.h
1.79.4.1 +1 -1 src/sys/vm/pmap.h
1.78.4.1 +5 -5 src/sys/vm/vm_extern.h
1.225.4.1 +22 -11 src/sys/vm/vm_glue.c
1.388.2.1.2.2 +23 -6 src/sys/vm/vm_map.c
More information about the cvs-src
mailing list