Page MenuHomeFreeBSD

Save the current TCP pacing rate in t_pacing_rate.
ClosedPublic

Authored by jhb on Oct 19 2020, 10:20 PM.
Tags
None
Referenced Files
F147671227: D26875.id78879.diff
Thu, Mar 12, 7:08 PM
Unknown Object (File)
Sat, Mar 7, 11:31 PM
Unknown Object (File)
Sat, Mar 7, 1:12 AM
Unknown Object (File)
Wed, Mar 4, 2:30 AM
Unknown Object (File)
Fri, Feb 27, 11:59 PM
Unknown Object (File)
Mon, Feb 23, 9:34 PM
Unknown Object (File)
Wed, Feb 18, 11:27 PM
Unknown Object (File)
Sat, Feb 14, 6:53 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Oct 19 2020, 10:20 PM

Having this around avoids the need to query an existing tag for a rate for TLS + rate limit tags. It also makes the race window where TLS can "miss" a rate change smaller.

One question I have is if we have to use -1 as the rate for unlimited, or if a rate value of 0 (which feels a bit more natural) would work ok? If 0 works, then I'd change this to a uint64_t.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 29 2020, 12:03 AM
This revision was automatically updated to reflect the committed changes.