CVS commit: src/sys/sys

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Sat May 16 15:10:55 UTC 2026

Modified Files:
	src/sys/sys: atomic.h

Log Message:
sys/atomic.h: Avoid needless stack spillage with typeof_unqual.

Using typeof_unqual strips the volatile qualifier on the local
temporaries, so the compiler doesn't issue store/load cycles for
access to them.

PR kern/60272: sys/atomic.h: unnecessary stack spillage


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/sys/atomic.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.