Page MenuHomeFreeBSD

Move TDP_GEOM check to ast()
ClosedPublic

Authored by trasz on Sep 9 2020, 3:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 1:03 AM
Unknown Object (File)
Mon, May 18, 7:49 AM
Unknown Object (File)
Mon, Apr 27, 4:16 PM
Unknown Object (File)
Apr 19 2026, 6:15 PM
Unknown Object (File)
Apr 17 2026, 9:37 AM
Unknown Object (File)
Apr 17 2026, 7:51 AM
Unknown Object (File)
Apr 16 2026, 12:15 AM
Unknown Object (File)
Apr 14 2026, 10:22 AM
Subscribers

Details

Summary

Move TDP_GEOM check from userret() to ast(); it seems quite infrequent.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz requested review of this revision.Sep 9 2020, 3:09 PM

It is indeed infrequent. I can't say much about the ast() context, but I have no objections.

sys/kern/subr_trap.c
291 ↗(On Diff #76812)

I am slightly unsure about place to put this sleep. It is fine for now, we will see if things break.

This revision is now accepted and ready to land.Sep 9 2020, 3:48 PM

(Tinderboxed, Tested by: pho)