diff options
| author | Andy Lutomirski <[email protected]> | 2017-02-22 15:36:16 +0000 |
|---|---|---|
| committer | Radim Krčmář <[email protected]> | 2017-03-01 16:03:22 +0000 |
| commit | b7ceaec112aa35aa287325754d8c52b8304892cd (patch) | |
| tree | af5014f643adf8db9d82178bfb22f68062ed41c2 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | kvm: convert kvm.users_count from atomic_t to refcount_t (diff) | |
| download | kernel-b7ceaec112aa35aa287325754d8c52b8304892cd.tar.gz kernel-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 <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
