Re: [PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-21 Thread Peter Zijlstra
On Mon, Oct 21, 2019 at 09:59:42AM +0200, Ingo Molnar wrote: > > * Alexey Budankov wrote: > > > + /* > > +* PMU specific parts of task perf context may require > > +* additional synchronization, at least for proper Intel > > +

Re: [PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-21 Thread Alexey Budankov
On 21.10.2019 10:59, Ingo Molnar wrote: > > * Alexey Budankov wrote: > >> +/* >> + * PMU specific parts of task perf context may require >> + * additional synchronization, at least for proper Intel >> + * LBR

Re: [PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-21 Thread Ingo Molnar
* Alexey Budankov wrote: > + /* > + * PMU specific parts of task perf context may require > + * additional synchronization, at least for proper Intel > + * LBR callstack data profiling; > +

[PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-18 Thread Alexey Budankov
Install Intel specific PMU task context synchronization adapter and extend optimized context switch path with PMU specific task context synchronization to fix LBR callstack virtualization on context switches. Signed-off-by: Alexey Budankov --- arch/x86/events/intel/core.c | 7 +++

[PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-16 Thread Alexey Budankov
Install Intel specific PMU task context synchronization adapter and extend optimized context switch path with PMU specific task context synchronization to fix LBR callstack virtualization on context switches. Signed-off-by: Alexey Budankov --- arch/x86/events/intel/core.c | 7 +++