Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 7, 2:54 PM
Unknown Object (File)
Sun, Apr 7, 6:45 AM
Unknown Object (File)
Sun, Apr 7, 2:01 AM
Unknown Object (File)
Mar 4 2024, 9:58 AM
Unknown Object (File)
Mar 2 2024, 4:14 AM
Unknown Object (File)
Jan 13 2024, 12:12 AM
Unknown Object (File)
Jan 12 2024, 8:22 AM
Unknown Object (File)
Dec 20 2023, 6:45 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