Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   riastradh
Date:           Fri Sep 18 12:38:43 UTC 2026

Modified Files:
        src/sys/kern: kern_turnstile.c

Log Message:
turnstile(9): Fix priority inheritance if trylock requires restart.

While here, sprinkle some comments explaining what's going on.

Not 100% sure this optimization, which was added in 2007 by yamt@ in
the original implementation of priority inheritance, is worthwhile,
but it's easy enough to fix for now.

PR kern/60739: Turnstile priority inheritance short-circuits walking
of waiter chain when trylock fails


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_turnstile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index