From: Hollis Blanchard Date: Tue, 2 Dec 2008 21:51:54 +0000 (-0600) Subject: powerpc/44x: declare tlb_44x_index for use in C code X-Git-Tag: v2.6.29-rc1~539^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ca609c5f874f7d6ae8e180afe79317e1943d22;p=pandora-kernel.git powerpc/44x: declare tlb_44x_index for use in C code KVM currently ignores the host's round robin TLB eviction selection, instead maintaining its own TLB state and its own round robin index. However, by participating in the normal 44x TLB selection, we can drop the alternate TLB processing in KVM. This results in a significant performance improvement, since that processing currently must be done on *every* guest exit. Accordingly, KVM needs to be able to access and increment tlb_44x_index. (KVM on 440 cannot be a module, so there is no need to export this symbol.) Signed-off-by: Hollis Blanchard Acked-by: Josh Boyer Signed-off-by: Avi Kivity --- Reading git-diff-tree failed