Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1344652

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

From "Shi, Yang" <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path
Date 2016-02-26 21:30 +0100
Message-ID <r6xbr-aO-3@gated-at.bofh.it> (permalink)
References <r6vt1-7nJ-33@gated-at.bofh.it> <r6vMm-7w1-25@gated-at.bofh.it> <r6wp5-83i-19@gated-at.bofh.it> <r6wIp-8ao-5@gated-at.bofh.it> <r6x1L-6H-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2/26/2016 12:15 PM, Steven Rostedt wrote:
> On Fri, 26 Feb 2016 11:59:40 -0800
> "Shi, Yang" <yang.shi@linaro.org> 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?

Hmm, it sounds unlikely to me.

Yang


>
> I don't see the kernfs_rename_lock being held anywhere in that
> remove. If it can be an issue there with this patch, then it's an issue
> today, because the kernfs_mutex is not held by the tracepoint.
>
> -- Steve
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path Yang Shi <yang.shi@linaro.org> - 2016-02-26 19:40 +0100
  Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path Steven Rostedt <rostedt@goodmis.org> - 2016-02-26 20:00 +0100
    Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path "Shi, Yang" <yang.shi@linaro.org> - 2016-02-26 20:40 +0100
      Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path "Shi, Yang" <yang.shi@linaro.org> - 2016-02-26 21:00 +0100
        Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path Steven Rostedt <rostedt@goodmis.org> - 2016-02-26 21:20 +0100
          Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path "Shi, Yang" <yang.shi@linaro.org> - 2016-02-26 21:30 +0100
        Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and  kernfs_path "Shi, Yang" <yang.shi@linaro.org> - 2016-02-26 21:20 +0100

csiph-web