Page MenuHomeFreeBSD

mac_framework: Remove apparently-superfluous sxlock
ClosedPublic

Authored by jah on Apr 3 2020, 11:09 PM.

Details

Summary

Unless there's some non-obvious performance or debugging reason for
keeping mac_policy_sx, it seems like this lock has been unnecessary
since r356120. Removing it seems to work fine with ntpd for me anyway.

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

jah created this revision.Apr 3 2020, 11:09 PM
mjg accepted this revision.Apr 3 2020, 11:52 PM
This revision is now accepted and ready to land.Apr 3 2020, 11:52 PM
kib accepted this revision.Apr 4 2020, 1:15 AM
This revision was automatically updated to reflect the committed changes.