Page MenuHomeFreeBSD

callout: retire callout_async_drain()
ClosedPublic

Authored by glebius on Jan 22 2024, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 6:57 PM
Unknown Object (File)
Sat, May 11, 5:14 AM
Unknown Object (File)
Fri, May 10, 7:42 PM
Unknown Object (File)
Fri, May 10, 5:37 PM
Unknown Object (File)
Mon, Apr 29, 12:04 PM
Unknown Object (File)
Tue, Apr 23, 5:43 AM
Unknown Object (File)
Sat, Apr 20, 4:53 PM
Unknown Object (File)
Fri, Apr 19, 9:21 AM
Subscribers

Details

Summary

This function was used only in TCP before 446ccdd08e2a. It was born in
pain in 2016 to plug different complex panics in TCP timers. It wasn't
warmly accepted in phabricator by all of the reviewers and my recollection
of overall agreement was that "if you need this KPI, then you'd better fix
your code to not need it". However, the function served its duty well all
the way to FreeBSD 14. But now that TCP doesn't need it anymore, let's
retire it to reduce complexity of callout code and also to avoid its
further use.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 22 2024, 9:44 PM

You should also remove the MLINK in share/man/man9/Makefile.

There is a comment in tcp_var.h which still references callout_async_drain().

There is a comment in tcp_var.h which still references callout_async_drain().

Oops, I missed your recent commit. :)

Remove MLINK.

The comment in tcp_var.h was updates as a separate commit.

This revision now requires review to proceed.Jan 22 2024, 10:13 PM

I guess ObsoleteFiles.inc should also be updated to include callout_async_drain.9.

This revision is now accepted and ready to land.Jan 22 2024, 10:18 PM
This revision was automatically updated to reflect the committed changes.