summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_phys.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-07-16 14:41:58 +0000
committerkib <kib@FreeBSD.org>2015-07-16 14:41:58 +0000
commit83cf60b07db68680af923ff4a2d8e21d8a7e059b (patch)
treea9994e2652a9004965044919dc052e1e341a9067 /sys/vm/vm_phys.h
parent1392531c0fe9b8815ac27613f4a9a26af79223d0 (diff)
downloadFreeBSD-src-83cf60b07db68680af923ff4a2d8e21d8a7e059b.zip
FreeBSD-src-83cf60b07db68680af923ff4a2d8e21d8a7e059b.tar.gz
MFC r276439 (by alc):
Make the creation of the free lists dynamic, i.e., it is based on the available physical memory at boot time. For amd64 systems with 64 GB or more of physical memory, create free lists for managing pages with physical addresses below 4 GB. PR: 185727 Requested by: alc Approved by: re (gjb)
Diffstat (limited to 'sys/vm/vm_phys.h')
-rw-r--r--sys/vm/vm_phys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_phys.h b/sys/vm/vm_phys.h
index 62fa0d4..0442789 100644
--- a/sys/vm/vm_phys.h
+++ b/sys/vm/vm_phys.h
@@ -72,7 +72,7 @@ void vm_phys_add_page(vm_paddr_t pa);
void vm_phys_add_seg(vm_paddr_t start, vm_paddr_t end);
vm_page_t vm_phys_alloc_contig(u_long npages, vm_paddr_t low, vm_paddr_t high,
u_long alignment, vm_paddr_t boundary);
-vm_page_t vm_phys_alloc_freelist_pages(int flind, int pool, int order);
+vm_page_t vm_phys_alloc_freelist_pages(int freelist, int pool, int order);
vm_page_t vm_phys_alloc_pages(int pool, int order);
boolean_t vm_phys_domain_intersects(long mask, vm_paddr_t low, vm_paddr_t high);
int vm_phys_fictitious_reg_range(vm_paddr_t start, vm_paddr_t end,
OpenPOWER on IntegriCloud