Page MenuHomeFreeBSD

Always allocate the atid table during attach.
ClosedPublic

Authored by jhb on Mon, Oct 14, 8:50 PM.

Details

Summary

Previously the table was allocated on first use by TOE and the ratelimit
code. The forthcoming NIC KTLS code also uses this table. Allocate it
unconditionally during attach to simplify consumers.

Test Plan
  • the NIC KTLS branch used this for a long time
  • I tried to test in isolation on head, but head panics due to epoch changes

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb created this revision.Mon, Oct 14, 8:50 PM
np accepted this revision.Tue, Oct 22, 5:48 PM
This revision is now accepted and ready to land.Tue, Oct 22, 5:48 PM
This revision was automatically updated to reflect the committed changes.