diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-12-02 15:51:54 -0600 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 16:55:09 +0200 |
commit | c0ca609c5f874f7d6ae8e180afe79317e1943d22 (patch) | |
tree | 45490ee3f3a16a220a554c8bcf40530253fc6be0 /arch/powerpc/kvm/44x_tlb.c | |
parent | 891686188f69d330f7eeeec8e6642ccfb7453106 (diff) |
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 <hollisb@us.ibm.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/44x_tlb.c')
0 files changed, 0 insertions, 0 deletions