Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-10 Thread Lin Xiulei
2018-02-09 18:11 GMT+08:00 Peter Zijlstra : > On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: >> From: "leilei.lin" >> >> Do not install cgroup event into the CPU context and schedule it >> if the cgroup is not running on this CPU >> >> While there is no task of cgroup running

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-09 Thread Peter Zijlstra
On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > From: "leilei.lin" > > Do not install cgroup event into the CPU context and schedule it > if the cgroup is not running on this CPU > > While there is no task of cgroup running specified CPU, current > kernel still install cgr

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-08 Thread Lin Xiulei
2018-02-08 23:36 GMT+08:00 Jiri Olsa : > > On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > > From: "leilei.lin" > > > > Do not install cgroup event into the CPU context and schedule it > > if the cgroup is not running on this CPU > > > > While there is no task of cgroup runn

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-08 Thread Jiri Olsa
On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > From: "leilei.lin" > > Do not install cgroup event into the CPU context and schedule it > if the cgroup is not running on this CPU > > While there is no task of cgroup running specified CPU, current > kernel still install cgr

[PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-07 Thread linxiulei
From: "leilei.lin" Do not install cgroup event into the CPU context and schedule it if the cgroup is not running on this CPU While there is no task of cgroup running specified CPU, current kernel still install cgroup event into CPU context that causes another cgroup event can't be installed into