aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2017-06-04 14:43:57 +0200
committerChristoffer Dall <[email protected]>2017-06-04 16:53:55 +0200
commit424c989b1a664a270727550506321af0a605c302 (patch)
tree752a20556538c34790cc5e4cdcdc96268dddad3f /net/lapb/lapb_iface.c
parentcc9b43f99d5ff4df75d11e75c0bfaf08f1ff5a9a (diff)
KVM: arm/arm64: optimize VCPU RUN
We can make a small optimization by not checking the state of the power_off field on each run. This is done by treating power_off like pause, only checking it when we get the EXIT VCPU request. When a VCPU powers off another VCPU the EXIT request is already made, so we just need to make sure the request is also made on self power off. kvm_vcpu_kick() isn't necessary for these cases, as the VCPU would just be kicking itself, but we add it anyway as a self kick doesn't cost much, and it makes the code more future-proof. Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions