HomeFreeBSD

amd64/pmap: include opt_kstack_pages.h

Description

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

(cherry picked from commit ecf65a4ae5cb9f18ebdc5fd9a40332f443e04959)

Details

Provenance
khngAuthored on Aug 3 2025, 3:40 AM
Reviewer
des
Differential Revision
D51709: amd64/pmap: include opt_kstack_pages.h
Parents
rGb84a0aa00881: amd64 pmap: simplify recent changes to pmap_enter_pde()
Branches
Unknown
Tags
Unknown