aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-20 08:34:28 -0400
committerAvi Kivity <avi@qumranet.com>2007-05-03 03:52:25 -0400
commitaac012245a59d78372dc66d292ba567367d86b60 (patch)
tree4faf7564b746b4efd6be91ca83b475cfd9d446e7 /drivers/kvm/kvm.h
parentca5aac1f96c18b5e4dcfea253d7ab607b5dcd5c9 (diff)
KVM: MMU: Remove global pte tracking
The initial, noncaching, version of the kvm mmu flushed the all nonglobal shadow page table translations (much like a native tlb flush). The new implementation flushes translations only when they change, rendering global pte tracking superfluous. This removes the unused tracking mechanism and storage space. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 7866b34b6c96..a4331da816d0 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -136,7 +136,6 @@ struct kvm_mmu_page {
136 unsigned long slot_bitmap; /* One bit set per slot which has memory 136 unsigned long slot_bitmap; /* One bit set per slot which has memory
137 * in this shadow page. 137 * in this shadow page.
138 */ 138 */
139 int global; /* Set if all ptes in this page are global */
140 int multimapped; /* More than one parent_pte? */ 139 int multimapped; /* More than one parent_pte? */
141 int root_count; /* Currently serving as active root */ 140 int root_count; /* Currently serving as active root */
142 union { 141 union {