From: Takuya Yoshikawa Date: Wed, 1 Aug 2012 09:03:28 +0000 (+0900) Subject: KVM: Push rmap into kvm_arch_memory_slot X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~15^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d89cc617b954aff4030fce178f7d86f59aaf713d;p=pandora-kernel.git KVM: Push rmap into kvm_arch_memory_slot 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 Acked-by: Paul Mackerras Signed-off-by: Avi Kivity --- Reading git-diff-tree failed