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

Re: [Xen-devel] [PATCH] x86/pv: Minor improvements to guest_get_eff_{, kern}_l1e()

 >>> On 23.08.17 at 21:09, <andrew.cooper3@xxxxxxxxxx> wrote:
> * These functions work in terms of linear addresses, not virtual addresses.
>    Update the comments and parameter names.
>  * Drop unnecessary inlines.
>  * Drop vcpu parameter from guest_get_eff_kern_l1e().  Its sole caller passes
>    current, and its callee strictly operates on current.

I'm not entirely convinced of this part, as I think the intention was
to save the re-latching of "current", but anyway:

>  * Switch guest_get_eff_kern_l1e()'s parameter from void * to l1_pgentry_t 
> *.
>    Both its caller and callee already use the correct type already.
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



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