Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Shi, Yang
On 2/26/2016 12:15 PM, Steven Rostedt wrote: On Fri, 26 Feb 2016 11:59:40 -0800 "Shi, Yang" wrote: BTW, it sounds this is not the only point where kernfs_node could be updated, __kernfs_remove should need synchronize_sched too. Question is, can the kernfs of a cgroup be removed while the c

Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Shi, Yang
On 2/26/2016 11:59 AM, Shi, Yang wrote: On 2/26/2016 11:37 AM, Shi, Yang wrote: On 2/26/2016 10:56 AM, Steven Rostedt wrote: On Fri, 26 Feb 2016 10:15:05 -0800 Yang Shi wrote: commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to report cgroup") made wr

Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Steven Rostedt
On Fri, 26 Feb 2016 11:59:40 -0800 "Shi, Yang" wrote: > BTW, it sounds this is not the only point where kernfs_node could be > updated, __kernfs_remove should need synchronize_sched too. > Question is, can the kernfs of a cgroup be removed while the cgroup is still active? I don't see the ke

Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Shi, Yang
On 2/26/2016 11:37 AM, Shi, Yang wrote: On 2/26/2016 10:56 AM, Steven Rostedt wrote: On Fri, 26 Feb 2016 10:15:05 -0800 Yang Shi wrote: commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to report cgroup") made writeback tracepoints report cgroup writeba

Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Shi, Yang
On 2/26/2016 10:56 AM, Steven Rostedt wrote: On Fri, 26 Feb 2016 10:15:05 -0800 Yang Shi wrote: commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to report cgroup") made writeback tracepoints report cgroup writeback, but it may trigger the below bug on -

Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Steven Rostedt
On Fri, 26 Feb 2016 10:15:05 -0800 Yang Shi wrote: > commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback > tracepoints to report cgroup") made writeback tracepoints report cgroup > writeback, but it may trigger the below bug on -rt kernel since kernfs_path > and kernfs_p

[RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Yang Shi
commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to report cgroup") made writeback tracepoints report cgroup writeback, but it may trigger the below bug on -rt kernel since kernfs_path and kernfs_path_len are called by tracepoints, which acquire sleeping loc