Page MenuHomeFreeBSD

Stop using fuswintr() and suswintr() in the profiler.
ClosedPublic

Authored by brooks on Apr 16 2018, 5:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 1, 3:04 AM
Unknown Object (File)
Sun, Jun 29, 12:30 AM
Unknown Object (File)
Tue, Jun 17, 12:43 PM
Unknown Object (File)
Sun, Jun 15, 4:33 AM
Unknown Object (File)
Fri, Jun 13, 5:54 PM
Unknown Object (File)
Fri, Jun 13, 12:14 PM
Unknown Object (File)
Thu, Jun 12, 12:11 PM
Unknown Object (File)
Wed, Jun 11, 10:39 PM
Subscribers

Details

Summary

Always take the AST path rather than calling MD functions which are
often implemented as always failing. The is the case on amd64, arm,
i386, and powerpc. This optimization (inherited from 4.4 Lite) is a
pessimization on those architectures and is the sole use of these
functions. They will be removed in a seperate commit.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16179
Build 16132: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 16 2018, 7:11 PM
sys/kern/subr_prof.c
482–483

This comment probably needs a bit of an update as it is no longer like the previous function.

  • Don't compute things that aren't used in addupc_intr().
  • Update commment on addupc_task().
This revision now requires review to proceed.Apr 16 2018, 9:39 PM
This revision is now accepted and ready to land.Apr 17 2018, 12:30 PM
brooks retitled this revision from Stop using fuswintr() and suswintr(). to Stop using fuswintr() and suswintr() in the profiler..Apr 17 2018, 4:09 PM
brooks edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.