Remove the roundrobin_attempts hack and replace it with per-process scheduling
authorart <art@openbsd.org>
Wed, 19 Apr 2000 09:58:19 +0000 (09:58 +0000)
committerart <art@openbsd.org>
Wed, 19 Apr 2000 09:58:19 +0000 (09:58 +0000)
commitfc1f8ee56527492eace5eeed99c3d1b0d0d089a8
tree0161d9794d03e5afb2c46c701386508f15bb8be9
parentf065898097da5371dc4c819a0230d0683b2f104e
Remove the roundrobin_attempts hack and replace it with per-process scheduling
flags (much nicer for future smp work).
Add two generic functions yield() and preempt(). Use preepmt() in uio when
we are told to yield.
Based on my idea, code written by Jason Thorpe from NetBSD.
sys/kern/kern_subr.c
sys/kern/kern_synch.c
sys/sys/proc.h