Page MenuHomeFreeBSD

hwpmc: tidy pcd_finalize methods
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
F146688047: D41270.id129033.diff
Wed, Mar 4, 5:51 PM
F146686686: D41270.id129033.diff
Wed, Mar 4, 5:36 PM
Unknown Object (File)
Sun, Mar 1, 1:22 AM
Unknown Object (File)
Sun, Mar 1, 12:07 AM
Unknown Object (File)
Fri, Feb 27, 8:06 PM
Unknown Object (File)
Fri, Feb 27, 6:10 PM
Unknown Object (File)
Fri, Feb 27, 6:10 PM
Unknown Object (File)
Fri, Feb 27, 3:45 PM
Subscribers

Details

Summary

Make them a little bit more consistent with one another in terms of what
is done:

  • Add/reduce assertions to what is most useful: a loop to ensure pcpu_fini freed everything
  • Add PMCDBG trace entries

The exception is the dmc620/cmn600 classes which behave a little
differently, so leave them untouched.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52928
Build 49819: arc lint + arc unit