NetBSD-Bugs archive

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

PR/58610 CVS commit: src/sys/kern



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58610 CVS commit: src/sys/kern
Date: Fri, 16 Aug 2024 21:54:17 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Aug 16 21:54:17 UTC 2024
 
 Modified Files:
 	src/sys/kern: subr_localcount.c
 
 Log Message:
 localcount: Update per-CPU total at splhigh.
 
 Otherwise localcount_acquire/release in interrupt context may lose
 counts.
 
 Duration spent at splhigh is very short.
 
 PR kern/58610: localcount(9) races with interrupts
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_localcount.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