[PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization
Kumar Gala
galak at kernel.crashing.org
Fri Aug 22 00:21:39 EST 2008
On Aug 21, 2008, at 9:13 AM, Christian Ehrhardt wrote:
> 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)
Where is the other discussion? I'd like to understand what's going on
here.. (especially since I added the wrtee[i] changes to kernel way
back when).
- k
More information about the Linuxppc-dev
mailing list