NetBSD-Bugs archive

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

PR/60739 CVS commit: src/sys/kern



The following reply was made to PR kern/60739; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60739 CVS commit: src/sys/kern
Date: Fri, 18 Sep 2026 12:38:43 +0000

 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