summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo and a bug.peter1999-08-191-10/+12
| | | | | | - One RTP_PRIO_REALTIME was meant to be RTP_PRIO_IDLE. - RTP_PRIO_FIFO was not handled. - Move the usual case first for setrunqueue() etc.
* Extract the next runnable process selection out of cpu_switch() into apeter1999-08-191-0/+204
fairly machine independent C routine. gcc actually does a pretty good job of this. Reviewed by: msmith (in principle)
OpenPOWER on IntegriCloud