[Bug 269572] MAXCPU too low for contemporary servers

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 May 2023 22:11:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269572

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 9fb6718d1b180c341373b25c03dbfc221ddee311
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-25 16:09:24 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-05-25 22:09:55 +0000

    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

 sys/amd64/include/kdb.h          | 2 --
 sys/arm/arm/mp_machdep.c         | 1 -
 sys/arm/include/kdb.h            | 2 --
 sys/arm/include/smp.h            | 3 ---
 sys/arm64/arm64/mp_machdep.c     | 2 --
 sys/arm64/include/smp.h          | 3 ---
 sys/i386/include/kdb.h           | 2 --
 sys/kern/subr_kdb.c              | 6 +++---
 sys/kern/subr_smp.c              | 7 +++++++
 sys/powerpc/include/kdb.h        | 2 --
 sys/powerpc/include/smp.h        | 2 --
 sys/powerpc/powerpc/mp_machdep.c | 1 -
 sys/riscv/include/kdb.h          | 2 --
 sys/riscv/include/smp.h          | 2 --
 sys/riscv/riscv/mp_machdep.c     | 2 --
 sys/sys/param.h                  | 2 +-
 sys/sys/smp.h                    | 3 +++
 sys/x86/include/x86_smp.h        | 1 -
 sys/x86/x86/mp_x86.c             | 1 -
 19 files changed, 14 insertions(+), 32 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.