CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2017/02/14 03:31:15
Modified files: sys/kern : vfs_bio.c kern_ktrace.c kern_subr.c kern_task.c vfs_sync.c sched_bsd.c sys/net : pf_table.c sys/sys : sched.h syscall_mi.h proc.h sys/uvm : uvm_glue.c uvm_map.c uvm_pdaemon.c Log message: Convert most of the manual checks for CPU hogging to sched_pause(). The distinction between preempt() and yield() stays as it is usueful to know if a thread decided to yield by itself or if the kernel told him to go away. ok tedu@, guenther@