HomeFreeBSD

mtx: remove stale commentary about inlined spinlock ops

Description

mtx: remove stale commentary about inlined spinlock ops

While both locking and unlocking a spinlock used to be inline, this
changed when spinlock_enter/spinlock_exit got introduced, defeating the
point of inlining them.

This either needs to have inlined spinlock enter/exit in place or have
mtx lock/unlock as function calls with the irq flags inlined in there.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Oct 4 2025, 2:20 AM
Parents
rGb11a5709ec2b: flua: kick out the remaining builtin modules
Branches
Unknown
Tags
Unknown