summaryrefslogtreecommitdiff
path: root/qemu-barrier.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-06-17 01:00:28 +0200
committerAlexander Graf <agraf@suse.de>2011-06-17 02:58:37 +0200
commit1c53accceeb01246aea0ec361e1efd15cac6db0f (patch)
tree19d6bae7c21f0d852d5a1af0ad63b61a3d84fabf /qemu-barrier.h
parent0dd4bc7dd45de7afa88662d24bd50a3aafdbab64 (diff)
PPC: move TLBs to their own arrays
Until now, we've created a union over multiple different TLB types and allocated that union. While it's a waste of memory (and cache) to allocate TLB information for a TLB type with much information when you only need little, it also inflicts another issue. With the new KVM API, we can now share the TLB between KVM and qemu, but for that to work we need to have both be in the same layout. We can't just stretch it over to fit some internal different TLB representation. Hence this patch moves all TLB types to their own array, allowing us to only address and allocate exactly the boundaries required for the specific TLB type at hand. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qemu-barrier.h')
0 files changed, 0 insertions, 0 deletions