]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The function pmap_alloc_direct_page() unconditionally zeroes the returned
authorAlan Cox <alc@FreeBSD.org>
Wed, 14 Nov 2012 17:33:00 +0000 (17:33 +0000)
committerAlan Cox <alc@FreeBSD.org>
Wed, 14 Nov 2012 17:33:00 +0000 (17:33 +0000)
commit6961891ea15a7e79990ee10ea747c512a1f2abe4
treea87061ea9bceb123d07608701fbd43c7bf19f9d9
parent862a3e12276390c09a1a64b0ac4d7da89195e69b
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
sys/mips/mips/pmap.c
sys/mips/mips/uma_machdep.c