OpenBSD/src unPtg5Gsys/kern sched_bsd.c kern_resource.c, sys/sys sched.h

   Stop calling resched_proc() after changing the nice(3) value of a process.

   Changing the scheduling priority of a process happens rarely, so it isn't
   strictly necessary to update the current priority of every threads
   instantly.

   Moreover resched_proc() isn't well suited to perform this action: it doesn't
   consider the state of each thread nor move them to another runqueue.

   ok visa@
VersionDeltaFile
1.55+5-4sys/kern/sched_bsd.c
1.68+1-2sys/kern/kern_resource.c
1.54+1-2sys/sys/sched.h
+7-83 files

UnifiedSplitRaw