• A
    PPC: move TLBs to their own arrays · 1c53accc
    Alexander Graf 提交于
    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: NAlexander Graf <agraf@suse.de>
    1c53accc
virtex_ml507.c 8.7 KB