lkml.org 
[lkml]   [2015]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf/core: fix RCU issues with cgroup monitoring mode
On Sat, Oct 17, 2015 at 03:28:11AM +0200, Stephane Eranian wrote:
> static int __perf_cgroup_move(void *info)
> {
> struct task_struct *task = info;
> + rcu_read_lock();
> perf_cgroup_switch(task, PERF_CGROUP_SWOUT | PERF_CGROUP_SWIN);
> + rcu_read_unlock();
> return 0;
> }

On second thought, how can this be right? Surely the cgroup system has
cgroups stabilized over calling ->attach() ?




\
 
 \ /
  Last update: 2015-10-17 12:21    [W:1.652 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site