Re: [PATCH v8 1/3] x86/fpu: track AVX-512 usage of tasks

2019-02-11 Thread Thomas Gleixner
On Fri, 18 Jan 2019, Aubrey Li wrote: > User space tools which do automated task placement need information > about AVX-512 usage of tasks, because AVX-512 usage could cause core > turbo frequency drop and impact the running task on the sibling CPU. > > The XSAVE hardware structure has bits that

Re: [PATCH v8 1/3] x86/fpu: track AVX-512 usage of tasks

2019-01-31 Thread Li, Aubrey
Hi Thomas, Just a soft reminder in case you didn't get a chance to look at this version. To address your concern about jiffies_64 on 32bit kernel, I use jiffies here instead. And to address jiffies wrap around issue, I use the trick from kernel micro time_before/after, that is, as long as the tim