aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/x86
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2017-02-22 07:36:16 -0800
committerRadim Krčmář <rkrcmar@redhat.com>2017-03-01 17:03:22 +0100
commitb7ceaec112aa35aa287325754d8c52b8304892cd (patch)
treeaf5014f643adf8db9d82178bfb22f68062ed41c2 /tools/testing/selftests/x86
parentkvm: convert kvm.users_count from atomic_t to refcount_t (diff)
downloadwireguard-linux-b7ceaec112aa35aa287325754d8c52b8304892cd.tar.xz
wireguard-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/testing/selftests/x86')
0 files changed, 0 insertions, 0 deletions