summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-11-14 17:33:00 +0000
committeralc <alc@FreeBSD.org>2012-11-14 17:33:00 +0000
commit1bce6c40648cef6575e0cb25eee13d7d429465a7 (patch)
treea87061ea9bceb123d07608701fbd43c7bf19f9d9 /sys/mips/include/pmap.h
parentd80ce03f42a9c9f75eca4006d016925f01df089d (diff)
downloadFreeBSD-src-1bce6c40648cef6575e0cb25eee13d7d429465a7.zip
FreeBSD-src-1bce6c40648cef6575e0cb25eee13d7d429465a7.tar.gz
The function pmap_alloc_direct_page() unconditionally zeroes the returned
page. Therefore, it is really inappropriate for use by the function uma_small_alloc(). The effect of using it was that every page was zeroed at least once and possibly twice if M_ZERO was passed as a "wait" flag.
Diffstat (limited to 'sys/mips/include/pmap.h')
-rw-r--r--sys/mips/include/pmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/mips/include/pmap.h b/sys/mips/include/pmap.h
index 7b5468c..15b07d3 100644
--- a/sys/mips/include/pmap.h
+++ b/sys/mips/include/pmap.h
@@ -179,7 +179,6 @@ void pmap_kenter_temporary_free(vm_paddr_t pa);
void pmap_flush_pvcache(vm_page_t m);
int pmap_emulate_modified(pmap_t pmap, vm_offset_t va);
void pmap_grow_direct_page_cache(void);
-vm_page_t pmap_alloc_direct_page(unsigned int index, int req);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud