summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/uma_machdep.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce KVA pressure on OEA64 systems running in bridge mode by mappingnwhitehorn2010-02-201-13/+8
| | | | | | | | | | | | | UMA segments at their physical addresses instead of into KVA. This emulates the direct mapping behavior of OEA32 in an ad-hoc way. To make this work properly required sharing the entire kernel PMAP with Open Firmware, so ofw_pmap is transformed into a stub on 64-bit CPUs. Also implement some more tweaks to get more mileage out of our limited amount of KVA, principally by extending KVA into segment 16 until the beginning of the first OFW mapping. Reported by: linimon
* Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge modenwhitehorn2009-04-041-0/+17
| | | | | | | | | | provided, for example, on the PowerPC 970 (G5), as well as on related CPUs like the POWER3 and POWER4. This also adds support for various built-in hardware found on Apple G5 hardware (e.g. the IBM CPC925 northbridge). Reviewed by: grehan
* It has been observed on the mailing lists that the different categoriesalc2007-09-151-4/+4
| | | | | | | | | | | | | | | of pages don't sum to anywhere near the total number of pages on amd64. This is for the most part because uma_small_alloc() pages have never been counted as wired pages, like their kmem_malloc() brethren. They should be. This changes fixes that. It is no longer necessary for the page queues lock to be held to free pages allocated by uma_small_alloc(). I removed the acquisition and release of the page queues lock from uma_small_free() on amd64 and ia64 weeks ago. This patch updates the other architectures that have uma_small_alloc() and uma_small_free(). Approved by: re (kensmith)
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Add sysctl hw.uma_mdpages to track how many pages have been allocatedgrehan2004-02-111-0/+9
| | | | by UMA_MD_SMALL_ALLOC
* Implement UMA_MD_SMALL_ALLOC, since the BAT registers allow directgrehan2004-01-291-0/+82
addressing of memory. Makes a substantial improvement for apps that stress the limited amount of KVM on PPC (e.g. untarring the ports tree). uma_machdep.c stolen from amd64/ia64.
OpenPOWER on IntegriCloud