OpenBSD/src Y96rLOR — sys/kern sched_bsd.c
Do not account spinning time as running time when a thread crosses a tick boundary of schedlock(). This reduces the contention on the SCHED_LOCK() when the current thread is already spinning. Prompted by deraadt@, ok visa@
Version | Delta | File | |
---|---|---|---|
1.51 | +2 | -2 | sys/kern/sched_bsd.c |
+2 | -2 | 1 files |