freebsd-skq/sys/i386
kib abd1094f17 Fix misuse of the kernel map in miscellaneous image activators.
Vnode-backed mappings cannot be put into the kernel map, since it is a
system map.

Use exec_map for transient mappings, and remove the mappings with
kmem_free_wakeup() to notify the waiters on available map space.

Do not map the whole executable into KVA at all to copy it out into
usermode.  Directly use vn_rdwr() for the case of not page aligned
binary.

There is one place left where the potentially unbounded amount of data
is mapped into exec_map, namely, in the COFF image activator
enumeration of the needed shared libraries.

Reviewed by:   alc
MFC after:     2 weeks
2012-02-17 23:47:16 +00:00
..
acpica MFamd64: (based on) r209957 2010-11-12 20:55:14 +00:00
bios Do not invoke resume event handlers if suspend was successful. 2011-04-19 16:30:17 +00:00
compile Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 2008-11-22 16:14:52 +00:00
conf Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00
i386 Finally, try to enable the nxstacks on amd64 and powerpc64 for both 64bit 2012-01-30 07:56:00 +00:00
ibcs2 Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
include Fix the netback driver build for i386. 2012-02-02 17:54:35 +00:00
isa Add support for the extended FPU states on amd64, both for native 2012-01-21 17:45:27 +00:00
linux Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
pci Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
svr4 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
xbox Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
xen Merge r216333 and r216555 from the native pmap 2011-12-30 18:16:15 +00:00
Makefile Delete duplicate tags entry I introduced in -r223901. 2011-07-15 17:27:26 +00:00