Module Name: src
Committed By: riastradh
Date: Fri Mar 18 23:37:14 UTC 2022
Modified Files:
src/sys/kern: kern_clock.c
Log Message:
clockrnd(9): Use atomic_load_relaxed for struct clockrnd::needed.
This may be set concurrently by clockrnd_get, so let's match the
atomic_store_relaxed and avoid the appearance of data races.
To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/kern/kern_clock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.