RE: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-02-08 Thread Yu, Fenghua
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > On 17/01/2019 00:00, Andy Lutomirski wrote: > > On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu > wrote: > >> IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC- > quanta > >> that processor can stay in C0.1 or C0.2. > >> > >> The

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-21 Thread Andy Lutomirski
> On Jan 20, 2019, at 11:12 AM, Andrew Cooper wrote: > >> On 17/01/2019 00:00, Andy Lutomirski wrote: >>> On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: >>> IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta >>> that processor can stay in C0.1 or C0.2. >>> >>> The

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-20 Thread Andrew Cooper
On 17/01/2019 00:00, Andy Lutomirski wrote: > On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: >> IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta >> that processor can stay in C0.1 or C0.2. >> >> The maximum time value in IA32_UMWAIT_CONTROL[31-2] is set as zero which >>

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Fenghua Yu
On Wed, Jan 16, 2019 at 04:30:59PM -0800, Andy Lutomirski wrote: > On Wed, Jan 16, 2019 at 4:13 PM Fenghua Yu wrote: > > > > On Wed, Jan 16, 2019 at 04:00:29PM -0800, Andy Lutomirski wrote: > > > On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: > > > > > > > > IA32_UMWAIT_CONTROL[31:2]

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Andy Lutomirski
On Wed, Jan 16, 2019 at 4:13 PM Fenghua Yu wrote: > > On Wed, Jan 16, 2019 at 04:00:29PM -0800, Andy Lutomirski wrote: > > On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: > > > > > > IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta > > > that processor can stay in C0.1 or

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Fenghua Yu
On Wed, Jan 16, 2019 at 04:00:29PM -0800, Andy Lutomirski wrote: > On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: > > > > IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta > > that processor can stay in C0.1 or C0.2. > > > > The maximum time value in IA32_UMWAIT_CONTROL[31-2]

Re: [PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Andy Lutomirski
On Wed, Jan 16, 2019 at 1:24 PM Fenghua Yu wrote: > > IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta > that processor can stay in C0.1 or C0.2. > > The maximum time value in IA32_UMWAIT_CONTROL[31-2] is set as zero which > means there is no global time limit for UMWAIT and

[PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Fenghua Yu
IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta that processor can stay in C0.1 or C0.2. The maximum time value in IA32_UMWAIT_CONTROL[31-2] is set as zero which means there is no global time limit for UMWAIT and TPAUSE instructions. Each process sets its own umwait maximum

[PATCH v2 3/3] x86/umwait: Control umwait maximum time

2019-01-16 Thread Fenghua Yu
IA32_UMWAIT_CONTROL[31:2] determines the maximum time in TSC-quanta that processor can stay in C0.1 or C0.2. The maximum time value in IA32_UMWAIT_CONTROL[31-2] is set as zero which means there is no global time limit for UMWAIT and TPAUSE instructions. Each process sets its own umwait maximum