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
F124989757: D39913.id.diff
Sat, Aug 2, 3:17 AM
Unknown Object (File)
Sat, Jul 19, 12:18 PM
Unknown Object (File)
Tue, Jul 15, 5:39 PM
Unknown Object (File)
Mon, Jul 14, 10:46 PM
Unknown Object (File)
Mon, Jul 14, 5:21 AM
Unknown Object (File)
Jun 22 2025, 4:56 AM
Unknown Object (File)
Jun 19 2025, 8:29 AM
Unknown Object (File)
Jun 14 2025, 10:03 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