diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2013-06-19 17:09:20 +0800 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-06-27 14:20:42 +0300 |
commit | accaefe07ddbeb12c0de4cec1d62dba6a0ea1605 (patch) | |
tree | 9363694003f6263cc15b8fcf2c5351d065a2a0a4 /arch/x86/include/asm/kvm_host.h | |
parent | a8eca9dcc656a405a28ffba43f3d86a1ff0eb331 (diff) | |
download | blackbird-obmc-linux-accaefe07ddbeb12c0de4cec1d62dba6a0ea1605.tar.gz blackbird-obmc-linux-accaefe07ddbeb12c0de4cec1d62dba6a0ea1605.zip |
KVM: MMU: document clear_spte_count
Document it to Documentation/virtual/kvm/mmu.txt
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 966f2650b6ab..5d28c11d5e21 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -226,6 +226,10 @@ struct kvm_mmu_page { DECLARE_BITMAP(unsync_child_bitmap, 512); #ifdef CONFIG_X86_32 + /* + * Used out of the mmu-lock to avoid reading spte values while an + * update is in progress; see the comments in __get_spte_lockless(). + */ int clear_spte_count; #endif |