Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2022 15:58:33 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb231965f9b7 - stable/13 - mbuf: Properly set the default value for mb_use_ext_pgs
Message-ID:  <202205211558.24LFwXMa080750@gitrepo.freebsd.org>

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

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

commit fb231965f9b7b3930b19f95e454eb86b348e0640
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-16 21:23:11 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-05-21 15:49:43 +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
    
    (cherry picked from commit 32854e528ac6f99e019674f545d0a27940fb8bba)
---
 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 997ad16b211b..e0c98d459a28 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?202205211558.24LFwXMa080750>