Page MenuHomeFreeBSD

mpr/mps: Remove write-only flag and callout
ClosedPublic

Authored by imp on Jan 18 2022, 3:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 14 2024, 8:08 AM
Unknown Object (File)
Sep 30 2024, 11:39 AM
Unknown Object (File)
Sep 27 2024, 6:50 PM
Unknown Object (File)
Sep 14 2024, 9:13 AM
Unknown Object (File)
Sep 12 2024, 4:12 AM
Unknown Object (File)
Sep 4 2024, 2:07 PM
Unknown Object (File)
Sep 4 2024, 2:07 PM
Unknown Object (File)
Aug 31 2024, 4:10 AM
Subscribers
None

Details

Summary

The discovery callout is initialized and cancelled only, making it
write-only. Remove a state flag associated with it being pending as well
as two defines that aren't used that are associated with it.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Jan 18 2022, 3:53 PM

Hmm, I guess that was removed somewhere along the way. I haven't seen discovery hangs lately, so this should be ok.

This revision is now accepted and ready to land.Jan 18 2022, 4:00 PM

Remove MPSSAS_SHUTDOWN, unused since b01773b0f1b6 in 2013 (well, it was only set
there). It was used to shutdown a thread that was removed in that revision.

This revision now requires review to proceed.Jan 18 2022, 4:04 PM

commit both parts before updating... remove MPRSAS_SHUTDOWN too.

This revision is now accepted and ready to land.Jan 18 2022, 4:09 PM
mav accepted this revision.EditedJan 18 2022, 4:40 PM

I haven't found the moment when it was removed, but it was at least 8 years ago before mpr(4) driver addition. So I don't think I'll miss it. BTW MPRSAS_DISCOVERY_TIMEOUT and MPRSAS_MAX_DISCOVERY_TIMEOUTS defines are also unused.

This revision was automatically updated to reflect the committed changes.