Re: [Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2016-01-08 Thread Haozhong Zhang
On 01/08/16 02:34, Jan Beulich wrote: > >>> On 31.12.15 at 04:03, wrote: > > --- /dev/null > > +++ b/xen/include/asm-x86/math64.h > > @@ -0,0 +1,105 @@ > > +#ifndef __X86_MATH64 > > +#define __X86_MATH64 > > + > > +/* > > + * Functions defined in this file are derived from Linux kernel > > + * (in

Re: [Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2016-01-08 Thread Jan Beulich
>>> On 31.12.15 at 04:03, wrote: > --- /dev/null > +++ b/xen/include/asm-x86/math64.h > @@ -0,0 +1,105 @@ > +#ifndef __X86_MATH64 > +#define __X86_MATH64 > + > +/* > + * Functions defined in this file are derived from Linux kernel > + * (include/linux/math64.h). > + */ This is not true. At least

Re: [Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2016-01-05 Thread Boris Ostrovsky
On 01/04/2016 08:15 PM, Haozhong Zhang wrote: On 01/04/16 13:26, Boris Ostrovsky wrote: On 12/30/2015 10:03 PM, Haozhong Zhang wrote: This patch adds several functions to take multiplication, division and shifting involving 64-bit integers. Those functions are derived from Linux kernel and will

Re: [Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2016-01-04 Thread Haozhong Zhang
On 01/04/16 13:26, Boris Ostrovsky wrote: > On 12/30/2015 10:03 PM, Haozhong Zhang wrote: > >This patch adds several functions to take multiplication, division and > >shifting involving 64-bit integers. Those functions are derived from > >Linux kernel and will be used by later patches to calculate

Re: [Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2016-01-04 Thread Boris Ostrovsky
On 12/30/2015 10:03 PM, Haozhong Zhang wrote: This patch adds several functions to take multiplication, division and shifting involving 64-bit integers. Those functions are derived from Linux kernel and will be used by later patches to calculate scaling ratio and scaled TSC. Signed-off-by: Haozh

[Xen-devel] [PATCH v3 07/13] x86: Add functions for 64-bit integer arithmetic

2015-12-30 Thread Haozhong Zhang
This patch adds several functions to take multiplication, division and shifting involving 64-bit integers. Those functions are derived from Linux kernel and will be used by later patches to calculate scaling ratio and scaled TSC. Signed-off-by: Haozhong Zhang --- Changes in v3: (addressing Boris