lkml.org 
[lkml]   [2016]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC V2 PATCH] kernfs: create raw version kernfs_path_len and kernfs_path
Hello,

On Fri, Feb 26, 2016 at 01:47:39PM -0800, Yang Shi wrote:
> Call synchronize_sched() when kernfs_node is updated since tracepoints are
> protected by rcu_read_lock_sched.

Adding synchronize_sched() to operations which can be triggered from
userland usually turns out to be problematic. If this can't be solved
any other way, I think the right thing to do is replacing the path
with cgroup id as Christoph suggested.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2016-02-27 13:01    [W:0.184 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site