softmmu: support up to 12 MMU modes
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 May 2015 07:18:23 +0000 (09:18 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:56 +0000 (23:56 +0200)
commit1de29aef17a7d70dbc04a7fe51e18942e3ebe313
tree1b99514530ad86c8e8cb2c939e82a00c55735128
parent006f8638c62bca2b0caf609485f47fa5e14d8a3c
softmmu: support up to 12 MMU modes

At 8k per TLB (for 64-bit host or target), 8 or more modes
make the TLBs bigger than 64k, and some RISC TCG backends do
not like that.  On the affected hosts, cut the TLB size in
half---there is still a measurable speedup on PPC with the
next patch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1424436345-37924-3-git-send-email-pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/exec/cpu-defs.h
include/exec/cpu_ldst.h