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
Unknown Object (File)
Fri, Nov 21, 6:21 AM
Unknown Object (File)
Sun, Nov 9, 12:01 AM
Unknown Object (File)
Sun, Nov 2, 3:26 PM
Unknown Object (File)
Fri, Oct 31, 7:22 AM
Unknown Object (File)
Thu, Oct 30, 4:26 AM
Unknown Object (File)
Sun, Oct 26, 10:05 PM
Unknown Object (File)
Fri, Oct 24, 9:00 PM
Unknown Object (File)
Oct 22 2025, 1:17 AM

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