CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2024/05/22 03:20:22
Modified files: sys/kern : kern_resource.c Log message: Just grab the SCHED_LOCK() once in donice() before walking the ps_threads list. setpriority() is trivial and probably faster than releasing and relocking SCHED_LOCK(). OK jca@