HomeFreeBSD

amd64: initialize APs kpmap_store in init_secondary()

Description

amd64: initialize APs kpmap_store in init_secondary()

The APs pcpu area is zeroed in init_secondary() by pcpu_init(), so the
early initialization in pmap_bootstrap() is nop.

Fixes: 42f722e721cd010ae5759a4b0d3b7b93c2b9cad2ESC
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D39945

Details

Provenance
kibAuthored on May 4 2023, 6:17 AM
Reviewer
markj
Differential Revision
D39945: amd64: do not leak pcpu pages
Parents
rG5fd34912b4a5: stand: Fix oversight in updating OpenZFS: Add com.klarasystems:vdev_zaps_v2
Branches
Unknown
Tags
Unknown