CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2019/05/22 12:45:07
Modified files: sys/kern : kern_sysctl.c Log message: 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@