Page MenuHomeFreeBSD

cleanup of rack variables
ClosedPublic

Authored by rrs on Feb 8 2022, 3:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 1:11 PM
Unknown Object (File)
Nov 13 2024, 12:19 PM
Unknown Object (File)
Sep 28 2024, 5:31 PM
Unknown Object (File)
Sep 28 2024, 5:25 PM
Unknown Object (File)
Sep 28 2024, 3:28 PM
Unknown Object (File)
Sep 24 2024, 1:04 AM
Unknown Object (File)
Sep 19 2024, 2:01 AM
Unknown Object (File)
Sep 19 2024, 1:52 AM

Details

Summary

During a recent deep dive into all the variables so I could
discover why stack switching caused larger retransmits I examined
every variable in rack. In the process I found quite a few bits
that were not used and needed cleanup. This update pulls
out all the unused pieces from rack. Note there are *no* functional
changes here, just the removal of unused variables and a bit of
spacing clean up.

Test Plan

Make sure it compiles after removing the unused variables.

Diff Detail

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

Event Timeline

rrs requested review of this revision.Feb 8 2022, 3:42 PM
rrs edited the summary of this revision. (Show Details)
sys/netinet/tcp_stacks/rack.c
13306

Is this (and the next hunk) a functional change?

the cleanup of the debug/troubleshooting/dev variable looks largely fine to me.

Any plans to backport this to stable/13 or has the rack code diverged too much to not be worthwhile (hystart is specific to main, so if no MFC is planned, I am ok with the minor changes there in one diff).

This revision is now accepted and ready to land.Feb 8 2022, 6:04 PM

Rack has diverged so much from 13 that I would not even
attempt to backport this.

This revision was automatically updated to reflect the committed changes.