freebsd-nq/sys/i386
Alan Cox e9a3f7852d Modestly increase the maximum allowed size of the kmem map on i386.
Also, express this new maximum as a fraction of the kernel's address
space size rather than a constant so that increasing KVA_PAGES will
automatically increase this maximum.  As a side-effect of this change,
kern.maxvnodes will automatically increase by a proportional amount.

While I'm here ensure that this change doesn't result in an unintended
increase in maxpipekva on i386.  Calculate maxpipekva based upon the
size of the kernel address space and the amount of physical memory
instead of the size of the kmem map.  The memory backing pipes is not
allocated from the kmem map.  It is allocated from its own submap of
the kernel map.  In short, it has no real connection to the kmem map.
(In fact, the commit messages for the maxpipekva auto-sizing talk
about using the kernel map size, cf. r117325 and r117391, even though
the implementation actually used the kmem map size.)  Although the
calculation is now done differently, the resulting value for
maxpipekva should remain almost the same on i386.  However, on amd64,
the value will be reduced by 2/3.  This is intentional.  The recent
change to VM_KMEM_SIZE_SCALE on amd64 for the benefit of ZFS also had
the unnecessary side-effect of increasing maxpipekva.  This change is
effectively restoring maxpipekva on amd64 to its prior value.

Eliminate init_param3() since it is no longer used.
2011-03-23 16:38:29 +00:00
..
acpica MFamd64: (based on) r209957 2010-11-12 20:55:14 +00:00
bios Add compat shim for apm(4) to translate APM BIOS function numbers from i386 2010-11-11 19:20:33 +00:00
compile
conf For now remove options FLOWTABLE from the remaining GENERIC kernel 2011-03-19 15:50:34 +00:00
i386 Deprecate tsc_present as the last of its real consumers finally disappeared. 2011-03-15 17:19:52 +00:00
ibcs2 Extend struct sysvec with new method sv_schedtail, which is used for an 2011-03-08 19:01:45 +00:00
include Modestly increase the maximum allowed size of the kmem map on i386. 2011-03-23 16:38:29 +00:00
isa Deprecate rarely used tsc_is_broken. Instead, we zero out tsc_freq because 2011-03-10 20:02:58 +00:00
linux Enable shared page use for amd64/linux32 and i386/linux binaries. 2011-03-13 14:58:02 +00:00
pci Add device IDs for two more ServerWorks Host-PCI bridges so that we can 2010-11-25 15:42:33 +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 Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. 2011-01-21 10:26:26 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00