diff options
author | Yong He <chenglang.hy@alibaba-inc.com> | 2019-07-02 22:02:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-02 22:03:28 -0700 |
commit | 85b27a9f8f0c04f10f16a93e848efb926a391638 (patch) | |
tree | af8b6a155f522624f38ca6330d0fdf9114d64f52 /test/syscalls/linux/tkill.cc | |
parent | 753da9604efc74dced3055bb2f5c6bef2d98fe6c (diff) |
Solve BounceToKernel may hang issue
BounceToKernel will make vCPU quit from guest ring3 to guest ring0, but
vCPUWaiter is not cleared when we unlock the vCPU, when next time this vCPU
enter guest mode ring3, vCPU may enter guest mode with vCPUWaiter bit setted,
this will cause the following BounceToKernel to this vCPU hangs at
waitUntilNot.
Halt may workaroud this issue, because halt process will reset vCPU status into
vCPUUser, and notify all waiter for vCPU state change, but if there is no
exception or syscall in this period, BounceToKernel will hang at waitUntilNot.
PiperOrigin-RevId: 256299660
Diffstat (limited to 'test/syscalls/linux/tkill.cc')
0 files changed, 0 insertions, 0 deletions