From: Scott Wood Date: Thu, 18 Aug 2011 20:25:18 +0000 (-0500) Subject: KVM: PPC: e500: clear up confusion between host and guest entries X-Git-Tag: v3.4-rc1~59^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0164c0f0c404017fb04defb0ceb23fd1c3c3a53e;p=pandora-kernel.git KVM: PPC: e500: clear up confusion between host and guest entries Split out the portions of tlbe_priv that should be associated with host entries into tlbe_ref. Base victim selection on the number of hardware entries, not guest entries. For TLB1, where one guest entry can be mapped by multiple host entries, we use the host tlbe_ref for tracking page references. For the guest TLB0 entries, we still track it with gtlb_priv, to avoid having to retranslate if the entry is evicted from the host TLB but not the guest TLB. Signed-off-by: Scott Wood Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed