Re: [PATCH 07/28] kvm tools: Move 'kvm__recommended_cpus' to arch-specific code

Alexander Graf
2011-12-23T14:05:58Z

On 21.12.2011, at 23:17, Paul Mackerras wrote:

> On Tue, Dec 20, 2011 at 04:23:28PM +0100, Alexander Graf wrote:
>
>>> - vcpu = kzalloc(sizeof(struct kvm_vcpu), GFP_KERNEL);
>>> + vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL);
>>
>> Paul, is there any rationale on why not to use the kmem cache? Are
>> we bound by real mode magic again?
>
> No, I just hadn't realized it existed. This looks fine to me.
>
> Acked-by: Paul Mackerras <paulus@samba.org>

Thanks, applied to kvm-ppc-next.

Alex