HomeFreeBSD

Check 'td_owepreempt' and yield the vcpu thread if it is set.

Description

Check 'td_owepreempt' and yield the vcpu thread if it is set.

This is done explicitly because a vcpu thread can be in a critical section
for the entire time slice alloted to it. This in turn can delay the handling
of the 'td_owepreempt'.

Reviewed by: jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D2430

Details

Provenance
neelAuthored on
Reviewer
jhb
Differential Revision
D2430: Check 'td_owepreempt' and yield the vcpu thread if it is set.
Parents
rS282570: Use the correct variable for the tools/TARGET.conf file.
Branches
Unknown
Tags
Unknown