All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shi, Yang" <yang.shi@linaro.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: gregkh@linuxfoundation.org, tj@kernel.org, lizefan@huawei.com,
	tglx@linutronix.de, bigeasy@linutronix.de,
	linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org,
	linaro-kernel@lists.linaro.org
Subject: Re: [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path
Date: Fri, 26 Feb 2016 12:23:17 -0800	[thread overview]
Message-ID: <56D0B435.4080309@linaro.org> (raw)
In-Reply-To: <20160226151503.39d39e45@gandalf.local.home>

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
>


  reply	other threads:[~2016-02-26 20:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26 18:15 [RFC PATCH] kernfs: create raw version kernfs_path_len and kernfs_path Yang Shi
2016-02-26 18:56 ` Steven Rostedt
2016-02-26 19:37   ` Shi, Yang
2016-02-26 19:59     ` Shi, Yang
2016-02-26 20:15       ` Steven Rostedt
2016-02-26 20:23         ` Shi, Yang [this message]
2016-02-26 20:16       ` Shi, Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D0B435.4080309@linaro.org \
    --to=yang.shi@linaro.org \
    --cc=bigeasy@linutronix.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.