Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
F153485738: D34216.id102529.diff
Tue, Apr 21, 10:32 AM
Unknown Object (File)
Thu, Apr 16, 3:49 PM
Unknown Object (File)
Sun, Apr 12, 1:12 AM
Unknown Object (File)
Thu, Apr 9, 12:03 PM
Unknown Object (File)
Wed, Mar 25, 4:41 AM
Unknown Object (File)
Mon, Mar 23, 11:03 PM
Unknown Object (File)
Mar 17 2026, 3:18 AM
Unknown Object (File)
Mar 16 2026, 11:57 PM
Subscribers

Details

Summary

This call was added back in the early days of dtrace porting and
no one knows why anymore. The extra flushing causes lots of
unnecessary CPU overhead when a script produces lots of output,
as well as easily losing output because the command can't keep up.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 44354
Build 41242: arc lint + arc unit