HomeFreeBSD

When requesting an exclusive lock with LK_NOWAIT, do not panic
rS48301Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When requesting an exclusive lock with LK_NOWAIT, do not panic
if LK_RECURSIVE is not set, as we will simply return that the
lock is busy and not actually deadlock. This allows processes
to use polling locks against buffers that they may already
hold exclusively locked.

Details

Provenance
mckusickAuthored on
Parents
rS48300: Hmm, might as well make all of BEFORE_DEPEND first in case make depend
Branches
Unknown
Tags
Unknown

Event Timeline