freebsd-skq/sys
alc b0606e2f16 If vm_map_find() is asked to allocate a superpage-aligned region of virtual
addresses that is greater than a superpage in size but not a multiple of
the superpage size, then vm_map_find() is not always expanding the kernel
pmap to support the last few small pages being allocated.  These failures
are not commonplace, so this was first noticed by someone porting FreeBSD
to a new architecture.  Previously, we grew the kernel page table in
vm_map_findspace() when we found the first available virtual address.
This works most of the time because we always grow the kernel pmap or page
table by an amount that is a multiple of the superpage size.  Now, instead,
we defer the call to pmap_growkernel() until we are committed to a range
of virtual addresses in vm_map_insert().  In general, there is another
reason to prefer calling pmap_growkernel() in vm_map_insert().  It makes
it possible for someone to do the equivalent of an mmap(MAP_FIXED) on the
kernel map.

Reported by:	Svatopluk Kraus
Reviewed by:	kib@
MFC after:	3 weeks
2010-10-04 16:49:40 +00:00
..
amd64 The makectx() function, used by kdb_trap() to reconstruct pcb from 2010-10-03 13:52:17 +00:00
arm fix outdated comment 2010-09-28 21:13:54 +00:00
boot - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
bsm
cam Decrease poll interval from 1000 to 100us. This significantly reduces 2010-09-22 05:17:18 +00:00
cddl Properly handle IO with B_FAILFAST 2010-09-27 09:42:31 +00:00
compat In linprocfs_doargv(): 2010-09-28 11:32:17 +00:00
conf Add a memory-range interface to /dev/mem on PowerPC using PAT attributes. 2010-10-03 16:02:53 +00:00
contrib o) Allow devices to override the MDIO read and write functions presented to 2010-10-02 05:43:17 +00:00
crypto Fix two copy&paste bugs. 2010-09-25 10:32:52 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Remove an header that apart from the license is empty. 2010-10-03 17:05:25 +00:00
fs M_USE_RESERVE has been deprecated for a decade. Eliminate any uses that 2010-10-02 17:58:57 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom - Check flag with the bitwise operator, not the logical operator. 2010-10-01 06:12:13 +00:00
gnu Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
i386 i386 and amd64 mp_machdep: improve topology detection for Intel CPUs 2010-10-01 10:32:54 +00:00
ia64 Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. 2010-09-29 21:53:11 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern Adjust the all target message (but maybe all: sysent is better? 2010-10-02 22:12:41 +00:00
kgssapi
libkern Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
mips Update message ring handling code for XLR/XLS 2010-10-03 04:33:58 +00:00
modules Unbreak build. 2010-10-03 20:04:11 +00:00
net Only hide the ifa and not the tp under #ifdef INET as the tp is needed 2010-10-01 15:14:14 +00:00
net80211 Fix background roaming to actually work in AUTO roaming mode. 2010-10-01 09:18:30 +00:00
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet put back the assigment to sched_time. It was correct, and 2010-10-01 15:38:35 +00:00
netinet6 Add a bandaid for a long-standing race condition during route entry 2010-09-27 19:26:56 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Do not fork nfsiod directly from the vop methods. This causes LORs between 2010-09-12 19:06:08 +00:00
nfsserver - When VFS_VGET() is not supported, switch to VOP_LOOKUP(). 2010-08-26 23:41:40 +00:00
nlm Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
opencrypto Add support for AES-XTS. 2010-09-23 11:52:32 +00:00
pc98 Now userland POSIX semaphore is based on umtx. The kernel module 2010-09-24 09:04:16 +00:00
pci Rename rl_setmulti() to rl_rxfilter() as rl_rxfilter() will handle 2010-09-30 17:37:08 +00:00
powerpc Follow exactly the steps in architecture manual for correctly invalidating 2010-10-04 16:07:48 +00:00
rpc Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
security Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
sparc64 Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. 2010-09-29 21:53:11 +00:00
sun4v Follow r213098, kernel POSIX semaphore module is no longer 2010-09-26 01:41:53 +00:00
sys Certain static code analysis tools (FlexeLint being one) are very 2010-10-04 10:48:47 +00:00
teken Make ^L with cons25 and origin mode bit more sane. 2010-08-09 18:07:15 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs M_USE_RESERVE has been deprecated for a decade. Eliminate any uses that 2010-10-02 17:58:57 +00:00
vm If vm_map_find() is asked to allocate a superpage-aligned region of virtual 2010-10-04 16:49:40 +00:00
x86 Restore pre-r212778 optimization, skipping timer reprogramming when it is 2010-09-18 07:36:43 +00:00
xdr
xen
Makefile