Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2025 03:41:12 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ecf65a4ae5cb - main - amd64/pmap: include opt_kstack_pages.h
Message-ID:  <202508030341.5733fCFd072068@gitrepo.freebsd.org>

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

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

commit ecf65a4ae5cb9f18ebdc5fd9a40332f443e04959
Author:     Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2025-08-03 03:40:57 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2025-08-03 03:40:57 +0000

    amd64/pmap: include opt_kstack_pages.h
    
    This fixes an early KASAN initialization panic in
    pmap_san_enter_early_alloc_4k, when a non-default value is specified for
    KSTACK_PAGES in the build config file.
    
    Sponsored by:   Juniper Networks, Inc.
    MFC after:      7 days
    Reviewed by:    des, markj
    Differential Revision:  https://reviews.freebsd.org/D51709
---
 sys/amd64/amd64/pmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 4cf77ee75871..243a6625bece 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -104,6 +104,7 @@
  */
 
 #include "opt_ddb.h"
+#include "opt_kstack_pages.h"
 #include "opt_pmap.h"
 #include "opt_vm.h"
 



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