freebsd-dev/sys
Alan Cox e9cb1037da Begin and end the initialization of pvzone in pmap_init().
Previously, pvzone's initialization was split between pmap_init() and
pmap_init2().  This split initialization was the underlying cause of
some UMA panics during initialization.  Specifically, if the UMA boot
pages was exhausted before the pvzone was fully initialized, then UMA,
through no fault of its own, would use an inappropriate back-end
allocator leading to a panic.  (Previously, as a workaround, we have
increased the UMA boot pages.)  Fortunately, there is no longer any
reason that pvzone's initialization cannot be completed in
pmap_init().

Eliminate a check for whether pv_entry_high_water has been initialized
or not from get_pv_entry().  Since pvzone's initialization is
completed in pmap_init(), this check is no longer needed.

Use cnt.v_page_count, the actual count of available physical pages,
instead of vm_page_array_size to compute the maximum number of pv
entries.

Introduce the vm.pmap.pv_entries tunable on alpha and ia64.

Eliminate some unnecessary white space.

Discussed with: tegge (item #1)
Tested by: marcel (ia64)
2005-11-04 18:03:24 +00:00
..
alpha Begin and end the initialization of pvzone in pmap_init(). 2005-11-04 18:03:24 +00:00
amd64 Begin and end the initialization of pvzone in pmap_init(). 2005-11-04 18:03:24 +00:00
arm Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
boot Consistently use OPT_* macros to test/set boot options. 2005-11-03 07:35:36 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Make the exploring of all luns supported by an HBA more of a 2005-09-16 01:26:17 +00:00
coda Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
compat Calling setrlimit from 32bit apps could potentially increase certain 2005-11-02 21:18:07 +00:00
conf We don't bump the config version for additions to config that aren't 2005-11-04 04:14:49 +00:00
contrib Fix build breakage on tinderbox. 2005-11-03 20:27:38 +00:00
crypto Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
ddb - Rename 'traceall' to 'alltrace' so that the 'tr' shortcut for 'trace' 2005-10-24 15:21:36 +00:00
dev Appropriate NULL pointer checking to avoid mysterious panic during 2005-11-03 08:19:04 +00:00
doc
fs Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
gdb
geom Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
gnu Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
i4b Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
i386 Begin and end the initialization of pvzone in pmap_init(). 2005-11-04 18:03:24 +00:00
ia64 Begin and end the initialization of pvzone in pmap_init(). 2005-11-04 18:03:24 +00:00
isa Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs 2005-09-28 15:01:58 +00:00
isofs/cd9660 Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
kern Fix a logic error introduced with mandatory mbuf cluster refcounting and 2005-11-04 17:20:53 +00:00
libkern Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
modules Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
net Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
net80211 Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
netatalk Forward declare atalkdomain with static linkage, not extern, since 2005-09-11 16:04:56 +00:00
netatm Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
netgraph Use if_setlladdr() to reprogram the link-level addresses; it causes 2005-11-04 16:29:51 +00:00
netinet Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
netinet6 statically configured IPv6 address is properly added/deleted now 2005-10-31 23:06:04 +00:00
netipsec Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
netipx Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
netkey Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
netnatm Forward declaring static variables as extern is invalid ISO-C. Now that 2005-09-07 10:06:14 +00:00
netncp Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
netsmb Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
nfsclient Fix for a crash (from nfs_lookup() in an error case). 2005-11-03 19:24:54 +00:00
nfsserver Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
opencrypto Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
pc98 Move the isa, npx, mem and io devices and the PC98 option from GENERIC 2005-10-28 15:30:51 +00:00
pccard Remove the kernel portion of OLDCARD. I'm working on a replacement 2005-09-25 21:29:32 +00:00
pci - Use callout_*() to manage the callout and make it MPSAFE. 2005-10-31 21:37:27 +00:00
posix4 Const-qualify ksem_timedwait's parameter abstime as it's only passed in. 2005-10-18 11:46:24 +00:00
powerpc Copy SPRG0-3 registers at boot-time and restore when calling into 2005-10-30 21:29:59 +00:00
rpc Add GIANT_REQUIRED and WITNESS sleep warnings to uprintf() and tprintf(), 2005-09-19 16:51:43 +00:00
security Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
sparc64 Add stoppcbs[] arrays on Alpha and sparc64 and have each CPU save its 2005-11-03 21:08:20 +00:00
sys Fix name compatible problem with POSIX standard. the sigval_ptr and 2005-11-04 09:41:00 +00:00
tools Add convenience macros for bus_space usage that doesn't require specification 2005-09-24 20:11:07 +00:00
ufs Rate limit filesystem full and out of inodes messages to once a 2005-10-31 20:33:28 +00:00
vm Rate limit vnode_pager_putpages printfs to once a second. 2005-11-01 23:00:24 +00:00
Makefile