HomeFreeBSD

smp: Dynamically allocate the stoppcbs array

Description

smp: Dynamically allocate the stoppcbs array

This avoids bloating the kernel image when MAXCPU is large.

A follow-up patch for kgdb and other kernel debuggers is needed since
the stoppcbs symbol is now a pointer. Bump __FreeBSD_version so that
debuggers can use osreldate to figure out how to handle stoppcbs.

PR: 269572
MFC after: never
Reviewed by: mjg, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39806

Details

Provenance
markjAuthored on Apr 25 2023, 4:09 PM
Reviewer
mjg
Differential Revision
D39806: smp: Dynamically allocate the stoppcbs array
Parents
rGfed03614bd2d: factor: Request the OpenSSL 1.1 API
Branches
Unknown
Tags
Unknown