summaryrefslogtreecommitdiff
path: root/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-01-18 23:14:59 +0200
committerKonstantin Belousov <kib@FreeBSD.org>2026-01-19 18:20:36 +0200
commit83d98828867591b5d842573ed6edcec7392f82df (patch)
treecc7340f1d13e7e999f460c2a751026420e1d14c5 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent3a6289e1e53ffe11b91b754d3b8241001b2cbfb8 (diff)
sys: do not allow entering vm_fault() on boot until VM is initialized
On amd64, a hack sets td_critnest to 1 in hammer_time(), and then clear it before returning from hammer_time(), which is too early. Instead, set TDP_NOFAULTING for thread0, and clear the flag after vm_init() finished. Noted by: adrian Reviewed by: adrian (previous version), markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54768
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions