Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 14, 9:15 AM
Unknown Object (File)
Sat, Jul 4, 9:54 PM
Unknown Object (File)
Sat, Jul 4, 4:48 PM
Unknown Object (File)
Thu, Jul 2, 6:39 PM
Unknown Object (File)
Jun 15 2026, 6:57 PM
Unknown Object (File)
Jun 15 2026, 5:54 AM
Unknown Object (File)
Jun 13 2026, 9:38 PM
Unknown Object (File)
May 27 2026, 10:11 AM
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