summaryrefslogtreecommitdiffstats
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-05-09 16:48:07 +0000
committeralc <alc@FreeBSD.org>2008-05-09 16:48:07 +0000
commit9e8bccea75b18f9e024b4a00b6e010b6989a1b1f (patch)
tree9e10f9fea0330c515b91c8dfaf76e3285c597600 /sys/vm/pmap.h
parent4f251e2f8c1c1a9602bf0b09f62682eeffc1892d (diff)
downloadFreeBSD-src-9e8bccea75b18f9e024b4a00b6e010b6989a1b1f.zip
FreeBSD-src-9e8bccea75b18f9e024b4a00b6e010b6989a1b1f.tar.gz
Introduce pmap_align_superpage(). It increases the starting virtual
address of the given mapping if a different alignment might result in more superpage mappings.
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 0438d11..5490ba2 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -90,6 +90,8 @@ struct thread;
*/
extern vm_offset_t kernel_vm_end;
+void pmap_align_superpage(vm_object_t, vm_ooffset_t, vm_offset_t *,
+ vm_size_t);
void pmap_change_wiring(pmap_t, vm_offset_t, boolean_t);
void pmap_clear_modify(vm_page_t m);
void pmap_clear_reference(vm_page_t m);
OpenPOWER on IntegriCloud