freebsd-dev/sys/powerpc
Attilio Rao a4915c21d9 Merge from vmc-playground branch:
Replace the sub-optimal uma_zone_set_obj() primitive with more modern
uma_zone_reserve_kva().  The new primitive reserves before hand
the necessary KVA space to cater the zone allocations and allocates pages
with ALLOC_NOOBJ.  More specifically:
- uma_zone_reserve_kva() does not need an object to cater the backend
  allocator.
- uma_zone_reserve_kva() can cater M_WAITOK requests, in order to
  serve zones which need to do uma_prealloc() too.
- When possible, uma_zone_reserve_kva() uses directly the direct-mapping
  by uma_small_alloc() rather than relying on the KVA / offset
  combination.

The removal of the object attribute allows 2 further changes:
1) _vm_object_allocate() becomes static within vm_object.c
2) VM_OBJECT_LOCK_INIT() is removed.  This function is replaced by
   direct calls to mtx_init() as there is no need to export it anymore
   and the calls aren't either homogeneous anymore: there are now small
   differences between arguments passed to mtx_init().

Sponsored by:	EMC / Isilon storage division
Reviewed by:	alc (which also offered almost all the comments)
Tested by:	pho, jhb, davide
2013-02-26 23:35:27 +00:00
..
aim Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
booke Merge from vmc-playground branch: 2013-02-26 23:35:27 +00:00
compile
conf Enable the UFS quotas for big-iron GENERIC kernels. 2013-01-03 19:03:41 +00:00
cpufreq
fpu
include Eliminate an unused #define. 2013-02-22 16:59:52 +00:00
mambo kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
mpc85xx Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
ofw Remove leftover from r215163. 2012-09-21 21:27:57 +00:00
powermac Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
powerpc Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
ps3 Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
psim
wii Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00