diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-10-27 19:02:23 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-10-27 19:02:23 +0000 |
commit | d6dd4af4acbc1057fb21719fe5b7249fec4512f7 (patch) | |
tree | 9471451e20770d92b3a4ea8ee08a650bb44977f9 /crypto/openssh | |
parent | b08abf6cc0479b4351479eb02972a95210d92343 (diff) | |
download | src-d6dd4af4acbc1057fb21719fe5b7249fec4512f7.tar.gz src-d6dd4af4acbc1057fb21719fe5b7249fec4512f7.zip |
Forcibly disable interrupts, if we find ourselves servicing one when
the device is suspended or shutting down. This will need to be rethought
slightly if we implement suspend/resume support within vr(4).
This appears to fix the vr_shutdown() panic on SMP machines.
My theory here is there's a race somewhere during vr_detach() with
vr_intr() in the SMP case which was sometimes being triggered,
although quite why this was happening is unclear (vr_stop() also
explicitly disables interrupts by writing to the IMR register).
MFC-to-RELENG_5* candidate.
PR: kern/62889
Tested by: seb at struchtrup dot com
MFC after: 10 days
Notes
Notes:
svn path=/head/; revision=136997
Diffstat (limited to 'crypto/openssh')
0 files changed, 0 insertions, 0 deletions