Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/kern
Module Name: src
Committed By: mlelstv
Date: Fri Nov 30 15:05:35 UTC 2018
Modified Files:
src/sys/kern: kern_synch.c
Log Message:
The SHOULDYIELD flag doesn't indicate that other LWPs could run but only
that the current LWP was seen on two consecutive scheduler intervals.
There are currently at least 3 cases for calling preempt().
- always call preempt()
- check the SHOULDYIELD flag
- check the real ci_want_resched
So the forced check for SHOULDYIELD changed the scheduler timing. Revert
it for now.
To generate a diff of this commit:
cvs rdiff -u -r1.321 -r1.322 src/sys/kern/kern_synch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index