HomeFreeBSD

Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to
rS178285Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to
explicitly select write locking for all use of the inpcb mutex.
Update some pcbinfo lock assertions to assert locked rather than
write-locked, although in practice almost all uses of the pcbinfo
rwlock main exclusive, and all instances of inpcb lock acquisition
are exclusive.

This change should introduce (ideally) little functional change.
However, it lays the groundwork for significantly increased
parallelism in the TCP/IP code.

MFC after: 3 months
Tested by: kris (superset of committered patch)

Details

Provenance
rwatsonAuthored on
Parents
rS178284: Allow linker_search_symbol_name() to be called with KLD lock held.
Branches
Unknown
Tags
Unknown

Event Timeline