[PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization

Christian Ehrhardt ehrhardt at linux.vnet.ibm.com
Fri Aug 22 00:13:41 EST 2008


Kumar Gala wrote:
>
> On Aug 19, 2008, at 5:36 AM, ehrhardt at linux.vnet.ibm.com wrote:
>
>> From: Christian Ehrhardt <ehrhardt at linux.vnet.ibm.com>
>>
>> Dependent on the already existing CONFIG_KVM_GUEST config option this 
>> patch
>> changes wrteei to wrtee allowing the hypervisor to rewrite those to 
>> nontrapping
>> instructions. Maybe we should split the kvm guest otpimizations in 
>> two parts
>> one for the overhead free optimizations and on for the rest that 
>> might add
>> some complexity for non virtualized execution (like this one).
>>
>> Signed-off-by: Christian Ehrhardt <ehrhardt at linux.vnet.ibm.com>
>> ---
>
> So this commit message doesnt explain why 'wrtee' facilities doing 
> whatever optimization and 'wrteei' doesnt.
>
yep I only explained it elsewhere.
I'll add it here too in the next version - thanks Kumar
(and fix the word otpimizations)

-- 

Grüsse / regards, 
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization




More information about the Linuxppc-dev mailing list