Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   mlelstv
Date:           Wed Nov 28 19:46:23 UTC 2018

Modified Files:
        src/sys/kern: kern_synch.c
        src/sys/sys: lwp.h

Log Message:
Move counting involuntary switches into mi_switch. preempt() passes that
information by setting a new LWP flag.

While here, don't even try to switch when the scheduler has no other LWP
to run. This check is currently spread over all callers of preempt()
and will be removed there.

ok mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.320 -r1.321 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.179 -r1.180 src/sys/sys/lwp.h

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