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)
Fri, Apr 12, 4:38 AM
Unknown Object (File)
Fri, Apr 12, 4:37 AM
Unknown Object (File)
Fri, Apr 12, 4:37 AM
Unknown Object (File)
Fri, Apr 12, 4:37 AM
Unknown Object (File)
Fri, Apr 12, 3:59 AM
Unknown Object (File)
Jan 27 2024, 10:10 PM
Unknown Object (File)
Jan 26 2024, 9:25 AM
Unknown Object (File)
Jan 26 2024, 9:12 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 16 2018, 7:11 PM
sys/kern/subr_prof.c
487 ↗(On Diff #41538)

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.