Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1249298
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] perf/core: fix RCU issues with cgroup monitoring mode |
| Date | 2015-10-17 12:10 +0200 |
| Message-ID | <qkwB3-2sR-1@gated-at.bofh.it> (permalink) |
| References | <qkotP-7aW-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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() ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] perf/core: fix RCU issues with cgroup monitoring mode Stephane Eranian <eranian@google.com> - 2015-10-17 03:30 +0200 Re: [PATCH] perf/core: fix RCU issues with cgroup monitoring mode Peter Zijlstra <peterz@infradead.org> - 2015-10-17 12:00 +0200 Re: [PATCH] perf/core: fix RCU issues with cgroup monitoring mode Peter Zijlstra <peterz@infradead.org> - 2015-10-17 12:10 +0200
csiph-web