summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_extern.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-05-10 21:46:20 +0000
committeralc <alc@FreeBSD.org>2008-05-10 21:46:20 +0000
commitc251140c2683fff813ae3869939f7a510fa0c8a7 (patch)
treed12080f402f408af5398139c077822276131a22e /sys/vm/vm_extern.h
parenta7ca76e7be2b0e3a9732e1ec875e2727098adae0 (diff)
downloadFreeBSD-src-c251140c2683fff813ae3869939f7a510fa0c8a7.zip
FreeBSD-src-c251140c2683fff813ae3869939f7a510fa0c8a7.tar.gz
Introduce a new parameter "superpage_align" to kmem_suballoc() that is
used to request superpage alignment for the submap. Request superpage alignment for the kmem_map. Pass VMFS_ANY_SPACE instead of TRUE to vm_map_find(). (They are currently equivalent but VMFS_ANY_SPACE is the new preferred spelling.) Remove a stale comment from kmem_malloc().
Diffstat (limited to 'sys/vm/vm_extern.h')
-rw-r--r--sys/vm/vm_extern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 27580bd..0a54372 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -63,7 +63,8 @@ void kmem_free(vm_map_t, vm_offset_t, vm_size_t);
void kmem_free_wakeup(vm_map_t, vm_offset_t, vm_size_t);
void kmem_init(vm_offset_t, vm_offset_t);
vm_offset_t kmem_malloc(vm_map_t, vm_size_t, boolean_t);
-vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t);
+vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t,
+ boolean_t);
void swapout_procs(int);
int useracc(void *, int, int);
int vm_fault(vm_map_t, vm_offset_t, vm_prot_t, int);
OpenPOWER on IntegriCloud