Page MenuHomeFreeBSD

cleanup of rack variables
ClosedPublic

Authored by rrs on Feb 8 2022, 3:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 3:51 PM
Unknown Object (File)
Feb 7 2024, 5:30 AM
Unknown Object (File)
Dec 20 2023, 8:06 AM
Unknown Object (File)
Dec 8 2023, 10:42 PM
Unknown Object (File)
Nov 11 2023, 6:51 PM
Unknown Object (File)
Oct 15 2023, 5:15 AM
Unknown Object (File)
Oct 10 2023, 5:45 PM
Unknown Object (File)
Sep 11 2023, 11:45 PM

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.