[PATCH for v4.9 LTS 72/86] perf/core: Fix sys_perf_event_open() vs. hotplug

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 63cae12bce9861cec309798d34701cf3da20bc71 ] There is problem with installing an event in a task that is 'stuck' on an offline CPU. Blocked tasks are not dis-assosciated from offlined CPUs, after all, a blocked task doesn't run and

[PATCH for v4.9 LTS 72/86] perf/core: Fix sys_perf_event_open() vs. hotplug

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 63cae12bce9861cec309798d34701cf3da20bc71 ] There is problem with installing an event in a task that is 'stuck' on an offline CPU. Blocked tasks are not dis-assosciated from offlined CPUs, after all, a blocked task doesn't run and doesn't require a CPU