summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-05-22 18:45:08 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-05-22 18:45:08 +0000
commit0218d2364b8dbd7d1fac92150c117dd08e20c7b6 (patch)
treea78715aadc208c881372580e4f5e4d7a93d28efa /sys/dev
parent2e0cdd7e7341d4f12421c98ffb59a5d02d4dd48d (diff)
Read and assign the integer value only once. With this sysctl_int() will
do word loads and stores and so partial updates should no longer be observed. With this accessing global variables set by sysctl_int() should be mostly MP save. OK dlg@ mpi@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions