Messages in this thread | | | Date | Thu, 21 May 2015 06:27:17 -0700 | Subject | Re: [PATCH 01/10] perf,x86: Fix event/group validation | From | Stephane Eranian <> |
| |
On Thu, May 21, 2015 at 6:20 AM, Peter Zijlstra <peterz@infradead.org> wrote: > On Thu, May 21, 2015 at 06:18:15AM -0700, Stephane Eranian wrote: >> Yes, it does modify the cpuc->event_list[]->hwc, because it is used as a >> cache for *EACH* invocation of the function. It is irrelevant outside the >> function. > > Yes, but the problem is that they _nest_. > > So you get to use the one from the nested call in the outer call.
You mean x86_schedule_events() calls x86_schedule_events()? Or are you talking about a preemption while executing x86_schedule_events()?
| |