]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: make spte_is_locklessly_modifiable() more clear
authorGleb Natapov <gleb@redhat.com>
Wed, 30 Jan 2013 14:45:00 +0000 (16:45 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 5 Feb 2013 01:24:28 +0000 (23:24 -0200)
commit8f1ae15db97d9635a0931010d5a4bc3567908356
tree72353f4f448128ce8037532ff35db90f88b9f813
parentbc082fa7ed366e4b42beca7cae9de4d152a6e235
KVM: MMU: make spte_is_locklessly_modifiable() more clear

spte_is_locklessly_modifiable() checks that both SPTE_HOST_WRITEABLE and
SPTE_MMU_WRITEABLE are present on spte. Make it more explicit.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c