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)
Thu, Oct 1, 8:28 AM
Unknown Object (File)
Wed, Sep 23, 7:17 PM
Unknown Object (File)
Sun, Sep 20, 8:54 PM
Unknown Object (File)
Sat, Sep 19, 2:11 AM
Unknown Object (File)
Sat, Sep 12, 10:17 AM
Unknown Object (File)
Thu, Sep 10, 10:11 PM
Unknown Object (File)
Thu, Sep 10, 7:18 PM
Unknown Object (File)
Sep 4 2026, 9:49 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 Passed
Unit
No Test Coverage
Build Status
Buildable 33458
Build 30740: arc lint + arc unit

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

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)