lkml.org 
[lkml]   [2018]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] uprobes: Use synchronize_rcu() not synchronize_sched()
On 08/10, Oleg Nesterov wrote:
>
> @@ -920,7 +918,8 @@ probe_event_enable(struct trace_uprobe *
> ret = uprobe_register(tu->inode, tu->offset, &tu->consumer);
> if (ret)
> goto err_buffer;
> -
> + add:
> + list_add_tail_rcu(&link->list, &tu->tp.files);

if (link)
list_add_tail_rcu(&link->list, &tu->tp.files);

Oleg.

\
 
 \ /
  Last update: 2018-08-10 13:42    [W:0.037 / U:30.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site