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

Re: [Xen-devel] [PATCH v5 3/6] x86/hvm: Replace architecture TSC scaling by a common function



>>> On 23.02.16 at 03:05, <haozhong.zhang@xxxxxxxxx> wrote:
> This patch implements a common function hvm_scale_tsc() to scale TSC by
> using TSC scaling information collected by architecture code.
> 
> Signed-off-by: Haozhong Zhang <haozhong.zhang@xxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Also I note that

> --- a/xen/include/asm-x86/hvm/hvm.h
> +++ b/xen/include/asm-x86/hvm/hvm.h
> @@ -231,8 +231,6 @@ struct hvm_function_table {
>          uint8_t  ratio_frac_bits;
>          /* maximum-allowed TSC scaling ratio */
>          uint64_t max_ratio;
> -
> -        uint64_t (*scale_tsc)(const struct vcpu *v, uint64_t tsc);
>      } tsc_scaling;

... this field disappears here, so never mind the renaming comment
on the earlier patch.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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