diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-02-22 16:36:16 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-03-01 17:03:22 +0100 |
commit | b7ceaec112aa35aa287325754d8c52b8304892cd (patch) | |
tree | af5014f643adf8db9d82178bfb22f68062ed41c2 /tools | |
parent | kvm: convert kvm.users_count from atomic_t to refcount_t (diff) | |
download | linux-b7ceaec112aa35aa287325754d8c52b8304892cd.tar.xz linux-b7ceaec112aa35aa287325754d8c52b8304892cd.zip |
x86/asm: Tidy up TSS limit code
In an earlier version of the patch ("x86/kvm/vmx: Defer TR reload
after VM exit") that introduced TSS limit validity tracking, I
confused which helper was which. On reflection, the names I chose
sucked. Rename the helpers to make it more obvious what's going on
and add some comments.
While I'm at it, clear __tss_limit_invalid when force-reloading as
well as when contitionally reloading, since any TR reload fixes the
limit.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions