diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-05-16 19:17:15 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-05-16 19:17:15 +0000 |
commit | 66456a72cd3815c7dd02df81fd210135612fba49 (patch) | |
tree | 8a551f7c9b11bbbdb14dd5f7b936781a8d719792 /sys/vm | |
parent | 5351e066994a3d70d5c9b6c7a9d290bd517a8966 (diff) | |
download | FreeBSD-src-66456a72cd3815c7dd02df81fd210135612fba49.zip FreeBSD-src-66456a72cd3815c7dd02df81fd210135612fba49.tar.gz |
apply band-aid to x86_64 systems with more physical memory than kmem by allocating from the direct map
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_contig.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c index 8fec101..9a5220d 100644 --- a/sys/vm/vm_contig.c +++ b/sys/vm/vm_contig.c @@ -87,6 +87,11 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_phys.h> #include <vm/vm_extern.h> +/* + * Only available as a band-aid to ZFS + */ +int vm_contig_launder(int queue); + static int vm_contig_launder_page(vm_page_t m, vm_page_t *next) { @@ -146,7 +151,7 @@ vm_contig_launder_page(vm_page_t m, vm_page_t *next) return (0); } -static int +int vm_contig_launder(int queue) { vm_page_t m, next; |