Re: [RFC PATCH 3/3] KVM: Push rmap into kvm_arch_memory_slot

2012-08-02 Thread Paul Mackerras
On Wed, Aug 01, 2012 at 06:03:28PM +0900, Takuya Yoshikawa wrote: > Two reasons: > - x86 can integrate rmap and rmap_pde and remove heuristics in >__gfn_to_rmap(). > - Some architectures do not need rmap. > > Since rmap is one of the most memory consuming stuff in KVM, ppc'd > better restric

[RFC PATCH 3/3] KVM: Push rmap into kvm_arch_memory_slot

2012-08-01 Thread Takuya Yoshikawa
Two reasons: - x86 can integrate rmap and rmap_pde and remove heuristics in __gfn_to_rmap(). - Some architectures do not need rmap. Since rmap is one of the most memory consuming stuff in KVM, ppc'd better restrict the allocation to Book3S HV. Signed-off-by: Takuya Yoshikawa Cc: Paul Macker