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, May 22, 5:28 PM
Unknown Object (File)
Mon, May 18, 7:53 PM
Unknown Object (File)
Mon, May 18, 6:59 AM
Unknown Object (File)
Mon, May 18, 6:59 AM
Unknown Object (File)
Fri, May 8, 4:20 AM
Unknown Object (File)
Fri, Apr 24, 9:50 AM
Unknown Object (File)
Apr 21 2026, 12:31 PM
Unknown Object (File)
Apr 21 2026, 4:14 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