HomeFreeBSD

epoch(9): allow sx locks to be held across epoch_wait()

Description

epoch(9): allow sx locks to be held across epoch_wait()

The INVARIANTS checks in epoch_wait() were intended to
prevent the block handler from returning with locks held.
What it in fact did was preventing anything except Giant
from being held across it. Check that the number of locks
held has not changed instead.

Approved by: sbruno@

Details

Provenance
mmacyAuthored on
Parents
rS333594: Revert changes to hash table alignment in r333273, which booting on all G5
Branches
Unknown
Tags
Unknown