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

[Xen-devel] Re: clear redunadant IRQ disable



On 31/10/06 08:38, "Dong, Eddie" <eddie.dong@xxxxxxxxx> wrote:

> Clear the redundant code in vmx_load_cr2 and use got "%EBX" for current
> vcpu pointer.

vmx_load_cr2() simplification is worthwhile but I'm not sure about 'vcpu *'
as a parameter to various functions. It's cheap to compute current and it's
actually confusing sometimes whether a function takes an arbitrary vcpu or
whether it is allowed to assume current. This is made obvious if the
function grabs current for itself.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.