Thread (22 messages) flat view 22 messages, 3 authors, 2015-08-06

Re: [PATCH v6 3/4] bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

From: Alexei Starovoitov <hidden>
Date: 2015-08-05 16:00:47
Also in: lkml

On 8/5/15 3:15 AM, Peter Zijlstra wrote:
On Wed, Aug 05, 2015 at 12:04:25PM +0200, Peter Zijlstra wrote:
quoted
On Tue, Aug 04, 2015 at 08:58:15AM +0000, Kaixu Xia wrote:
quoted
quoted
+	    event->ctx->task != current)
Strictly speaking we should hold rcu_read_lock around dereferencing
event->ctx (or have IRQs disabled -- although I know Paul doesn't like
us relying on that).
programs are always executing under rcu_read_lock, so we should be good
here too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help