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
F169723744: D39913.diff
Wed, Sep 2, 9:28 AM
Unknown Object (File)
Sun, Aug 30, 4:11 AM
Unknown Object (File)
Fri, Aug 28, 3:05 AM
Unknown Object (File)
Sat, Aug 22, 5:43 AM
Unknown Object (File)
Fri, Aug 14, 10:37 PM
Unknown Object (File)
Wed, Aug 12, 10:04 PM
Unknown Object (File)
Sun, Aug 9, 7:01 PM
Unknown Object (File)
Aug 2 2026, 5:43 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