Page MenuHomeFreeBSD

kinst: exclude cpu_switch
ClosedPublic

Authored by christos on Jul 12 2023, 1:25 PM.
Tags
None
Referenced Files
F107072621: D40985.diff
Thu, Jan 9, 4:43 PM
Unknown Object (File)
Sun, Dec 22, 11:23 PM
Unknown Object (File)
Fri, Dec 20, 1:36 PM
Unknown Object (File)
Nov 29 2024, 12:11 AM
Unknown Object (File)
Nov 13 2024, 3:43 AM
Unknown Object (File)
Nov 8 2024, 2:44 AM
Unknown Object (File)
Nov 8 2024, 2:37 AM
Unknown Object (File)
Nov 5 2024, 7:05 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52619
Build 49510: arc lint + arc unit

Event Timeline

cpu_switch() was able to be traced in arm64 and riscv, and as is expected, resulted in crashes.

sys/cddl/dev/kinst/kinst.c
99

Please add a comment explaining why: cpu_switch() modifies the value of curthread, but kinst_invop() assumes that this won't happen.

christos marked an inline comment as done.

Explain why

This revision is now accepted and ready to land.Jul 13 2023, 6:34 PM
This revision was automatically updated to reflect the committed changes.