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

Re: [Xen-devel] [PATCH 2/2] xen/arm: Misc improvements to do_common_cpu_on()



Hi Andrew,

On 24/04/2019 19:10, Andrew Cooper wrote:
  * Use domain_vcpu() rather than opencoding the lookup.  Amongst other things,
    domain_vcpu() is spectre-v1-safe.
  * Unlock the domain immediately after arch_set_info_guest() completes.  There
    is no need for free_vcpu_guest_context() to be within the critical region,
    and moving the call simplifies the error case.

No practical change in functionaltiy.

s/functionaltiy/functionality/


Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Julien Grall <julien.grall@xxxxxxx>

I will fix up the typo and queue it in my next-4.13 branch.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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