Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
F102677729: D34216.diff
Fri, Nov 15, 6:05 PM
Unknown Object (File)
Thu, Oct 24, 11:01 AM
Unknown Object (File)
Thu, Oct 24, 11:01 AM
Unknown Object (File)
Thu, Oct 24, 11:01 AM
Unknown Object (File)
Thu, Oct 24, 10:42 AM
Unknown Object (File)
Sat, Oct 19, 9:06 AM
Unknown Object (File)
Fri, Oct 18, 7:23 PM
Unknown Object (File)
Oct 3 2024, 4:44 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable