mbuf: Properly set the default value for mb_use_ext_pgs

Reported by:	Jenkins
Fixes:	fcaa890c44 ("mbuf: Only allow extpg mbufs if the system has a direct map")
Pointy hat:	markj
This commit is contained in:
Mark Johnston 2021-11-16 16:23:11 -05:00
parent 756bb50b6a
commit 32854e528a

View File

@ -197,7 +197,7 @@ tunable_mbinit(void *dummy)
* map.
*/
if (PMAP_HAS_DMAP) {
extpg = mb_use_ext_pgs;
extpg = 1;
TUNABLE_INT_FETCH("kern.ipc.mb_use_ext_pgs", &extpg);
mb_use_ext_pgs = extpg != 0;
}