Re: [PATCH v11 5/8] KVM: PPC: ev_idle hcall support for e500 guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02.07.2012, at 15:24, Benjamin Herrenschmidt wrote:

> On Mon, 2012-07-02 at 14:20 +0200, Alexander Graf wrote:
>> 
>> Ben, would you be opposed to a macro that does this? Open-coding
>> subtile details like this always makes me wary we could screw them
>> up :)
> 
> That's definitely material for a macro (and fixup the gazillion places
> where we do it by hand already :-)

Just like I thought.

Stuart, want to take this on you? It'd be mostly a simple search+replace of the pattern in question with a macro GET_THREAD_INFO(r3, r1) that does the same thing as the code we have today, but makes it easier to read.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux