diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-02 18:54:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-02 18:54:09 +0000 |
commit | dd03284643e3ffd6949a49723f79b49d337e77f6 (patch) | |
tree | cceed7e5464b951ef0c37967aa220da4d17423f0 /sys/dev/ray/if_ray.c | |
parent | 5920344071d2123f9a1924df18f435b720aa9998 (diff) | |
download | FreeBSD-src-dd03284643e3ffd6949a49723f79b49d337e77f6.zip FreeBSD-src-dd03284643e3ffd6949a49723f79b49d337e77f6.tar.gz |
The previous commit wasn't entirely correct. At least one goto to the
out: label in psignal() did not grab sched_lock before trying to release
it. Also, the previous version had several cases where it grabbed
sched_lock before jumping to out: unneccessarily, so rework this a bit.
The runfast: and out: labels must be called with sched_lock released, and
the run: label must be called with it held. Appropriate mtx_assert()'s
have been added that should catch any bugs that may still be in this
code.
Noticed by: bde
Diffstat (limited to 'sys/dev/ray/if_ray.c')
0 files changed, 0 insertions, 0 deletions