Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fix from Ingo Molnar:
"This fix adds missing RCU read protection"

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
events: Protect access via task_subsys_state_check()

+2
+2
kernel/events/core.c
··· 4596 4596 struct perf_event_context *ctx; 4597 4597 int ctxn; 4598 4598 4599 + rcu_read_lock(); 4599 4600 for_each_task_context_nr(ctxn) { 4600 4601 ctx = task->perf_event_ctxp[ctxn]; 4601 4602 if (!ctx) ··· 4604 4603 4605 4604 perf_event_enable_on_exec(ctx); 4606 4605 } 4606 + rcu_read_unlock(); 4607 4607 4608 4608 if (!atomic_read(&nr_comm_events)) 4609 4609 return;