Page MenuHomeFreeBSD

hwpmc: remove stub pmd_switch_{in,out} methods
ClosedPublic

Authored by mhorne on May 1 2023, 7:40 PM.
Tags
None
Referenced Files
F132697518: D39913.diff
Sun, Oct 19, 3:31 AM
Unknown Object (File)
Sun, Oct 12, 6:14 AM
Unknown Object (File)
Sun, Oct 12, 6:14 AM
Unknown Object (File)
Sun, Oct 12, 6:14 AM
Unknown Object (File)
Sun, Oct 12, 3:07 AM
Unknown Object (File)
Sat, Oct 11, 8:03 PM
Unknown Object (File)
Sep 14 2025, 9:45 PM
Unknown Object (File)
Sep 7 2025, 12:02 PM

Details

Summary

Most platforms (non-x86) don't require these methods and implement stub
versions. If we initialize the pmc_mdep structure to always point to the
generic versions, then we can purge the duplicate stubs.

Diff Detail

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