The thread_susp_check() is a hack. I will redo it properly, and something similar was already needed for D12773.
PR: 242724
Differential D22881
bhyve: terminate waiting loops if thread suspension is requested kib on Dec 19 2019, 8:57 PM. Authored by Tags None Referenced Files
Details
The thread_susp_check() is a hack. I will redo it properly, and something similar was already needed for D12773. PR: 242724
Diff Detail
Event Timeline
Comment Actions We had similar issues regarding vm_smp_rendezvous() and thread interruption in SmartOS. The easiest path forward for us was to totally eliminate the need for vm_smp_rendezvous(), which has been floated for upstreaming in D20389.
Comment Actions I catch this KASSERT (https://svnweb.freebsd.org/base/head/sys/amd64/vmm/vmm_dev.c?view=markup#l799) when trying to attach debugger to bhyve process.
|