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)
Tue, Mar 3, 5:39 PM
Unknown Object (File)
Tue, Mar 3, 8:46 AM
Unknown Object (File)
Tue, Mar 3, 12:29 AM
Unknown Object (File)
Thu, Feb 26, 10:28 AM
Unknown Object (File)
Feb 8 2026, 4:12 AM
Unknown Object (File)
Feb 7 2026, 5:07 PM
Unknown Object (File)
Jan 31 2026, 5:33 AM
Unknown Object (File)
Dec 24 2025, 9:43 PM
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)