Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-10] src/sys/kern
Module Name: src
Committed By: martin
Date: Wed Feb 8 18:24:52 UTC 2023
Modified Files:
src/sys/kern [netbsd-10]: subr_prf.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #75):
sys/kern/subr_prf.c: revision 1.197
sys/kern/subr_prf.c: revision 1.198
avoid pserialize usage in early boot
there are DEBUG-only aprint_normal() calls early in eg, ksyms
setup that may happen before eg curcpu() is setup. this is the
case in sparc64, where it sets up ksyms as early as it can so
that DDB has symbols early, which is before the curcpu() setup
is created, and thus the calls to pserialize_read_enter() and
pserialize_read_exit() attempt to access unmapped cpu_info and
due to being so early, the system faults to the prom.
simply use "cold" to determine whether to skip these pserialize
calls or not.
ok riastradh
XXX: pullup-10
fix logic-reversing tpyo in putone()
To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.196.2.1 src/sys/kern/subr_prf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index