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: ozaki-r
Date: Tue Aug 14 01:06:01 UTC 2018
Modified Files:
src/sys/kern: kern_synch.c subr_pserialize.c
Log Message:
Change the place to check if a context switch doesn't happen within a pserialize read section
The previous place (pserialize_switchpoint) was not a good place because at that
point a suspect thread is already switched so that a backtrace gotten on
a KASSERT failure doesn't point out where a context switch happens.
To generate a diff of this commit:
cvs rdiff -u -r1.317 -r1.318 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_pserialize.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