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)
Thu, Apr 18, 7:25 PM
Unknown Object (File)
Fri, Apr 12, 1:06 PM
Unknown Object (File)
Mon, Apr 8, 6:55 PM
Unknown Object (File)
Thu, Mar 28, 5:22 AM
Unknown Object (File)
Mar 18 2024, 10:23 PM
Unknown Object (File)
Mar 18 2024, 10:23 PM
Unknown Object (File)
Mar 12 2024, 10:57 AM
Unknown Object (File)
Mar 10 2024, 12:38 PM
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.