From 1bce6c40648cef6575e0cb25eee13d7d429465a7 Mon Sep 17 00:00:00 2001 From: alc Date: Wed, 14 Nov 2012 17:33:00 +0000 Subject: 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. --- sys/mips/include/pmap.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/mips/include/pmap.h') 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 */ -- cgit v1.1