HomeFreeBSD

pipe: thundering herd problem in pipelock

Description

pipe: thundering herd problem in pipelock

All reads and writes are serialized with a hand-rolled lock, but unlocking it
always wakes up all waiters. Existing flag fields get resized to make room for
introduction of waiter counter without growing the struct.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D27273

Details

Provenance
mjgAuthored on Nov 19 2020, 7:25 PM
Parents
rG7e9e52e7a7f1: fstat(1): Add EXAMPLES section
Branches
Unknown
Tags
Unknown

Event Timeline