Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Fenghua Yu
On Wed, Jun 20, 2018 at 12:34:32AM +0200, Thomas Gleixner wrote: > On Tue, 19 Jun 2018, Fenghua Yu wrote: > > On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > > > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > > > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Fenghua Yu
On Wed, Jun 20, 2018 at 12:34:32AM +0200, Thomas Gleixner wrote: > On Tue, 19 Jun 2018, Fenghua Yu wrote: > > On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > > > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > > > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Thomas Gleixner
On Tue, 19 Jun 2018, Fenghua Yu wrote: > On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > > > published in the latest Intel Instruction Set Extensions document.

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Thomas Gleixner
On Tue, 19 Jun 2018, Fenghua Yu wrote: > On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > > > published in the latest Intel Instruction Set Extensions document.

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Fenghua Yu
On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > > published in the latest Intel Instruction Set Extensions document. > > > > Define the APIs for user or kernel to

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Fenghua Yu
On Tue, Jun 19, 2018 at 11:12:05AM +0200, Thomas Gleixner wrote: > On Fri, 15 Jun 2018, Fenghua Yu wrote: > > > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > > published in the latest Intel Instruction Set Extensions document. > > > > Define the APIs for user or kernel to

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Thomas Gleixner
On Fri, 15 Jun 2018, Fenghua Yu wrote: > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > published in the latest Intel Instruction Set Extensions document. > > Define the APIs for user or kernel to use the instructions. You're not defining APIs. You're adding a pile of

Re: [RFC PATCH 7/8] x86/lib_user_wait.h: Add APIs for user wait instructions

2018-06-19 Thread Thomas Gleixner
On Fri, 15 Jun 2018, Fenghua Yu wrote: > A few new user wait instructions UMONITOR, UMWAIT, and TPAUSE are > published in the latest Intel Instruction Set Extensions document. > > Define the APIs for user or kernel to use the instructions. You're not defining APIs. You're adding a pile of