With the SMR locking of inpcbs the use of this lock reduced down to the
global list and generation number. It was used only on an inpcb creation
and destruction. Use the inpcbinfo hash lock for this purpose.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 71551 Build 68434: arc lint + arc unit
Event Timeline
Comment Actions
On the next changeset in the stack lock usage is reduced mostly to the hash, as the list of all inpcbs goes away.
Comment Actions
The only user of in_pcbremhash() function is now only in_pcbdrop()
should we keep it?
IMHO, since the in_pcbdrop() is small enough, maybe we should expand the in_pcbremhash() and remove it entirely.
Comment Actions
I haven't yet shared the entire patch queue. The in_pcbdrop() also goes away together with INP_DROPPED and this state is internalized to TCP. This depends on D56025. Once it is in main, I will rebase my branch and share missing patches.