Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2021 21:26:53 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 32854e528ac6 - main - mbuf: Properly set the default value for mb_use_ext_pgs
Message-ID:  <202111162126.1AGLQrV7019101@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=32854e528ac6f99e019674f545d0a27940fb8bba

commit 32854e528ac6f99e019674f545d0a27940fb8bba
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-16 21:23:11 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-11-16 21:23:11 +0000

    mbuf: Properly set the default value for mb_use_ext_pgs
    
    Reported by:    Jenkins
    Fixes:  fcaa890c4469 ("mbuf: Only allow extpg mbufs if the system has a direct map")
    Pointy hat:     markj
---
 sys/kern/kern_mbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
index 78a270189a4b..af00bf8182ac 100644
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111162126.1AGLQrV7019101>