CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/05/04 15:24:33
Modified files: sys/kern : kern_malloc.c kern_time.c Log message: Introduce mutex for ratecheck(9) and ppsratecheck(9). A global mutex with spl high for all function calls is used for now. It protects the lasttime and curpps parameter. This solution is MP safe for the usual use case, allows progress, and can be optimized later. Remove a useless #if 1 while there. OK claudio@