From: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
"Kay Sievers" <kay.sievers-tD+1rO4QERM@public.gmane.org>,
"Lennart Poettering"
<lennart-mdGvqq1h2p+GdvJs77BJ7Q@public.gmane.org>,
"Jan Kaluža" <jkaluza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH cgroup/for-3.12] cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()
Date: Fri, 12 Jul 2013 15:49:53 +0800 [thread overview]
Message-ID: <51DFB521.6080800@huawei.com> (raw)
In-Reply-To: <20130711233448.GA2359-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
On 2013/7/12 7:34, Tejun Heo wrote:
>
> task_cgroup_path_from_hierarchy() was added for the planned new users
> and none of the currently planned users wants to know about multiple
> hierarchies. This patch drops the multiple hierarchy part and makes
> it always return the path in the first non-dummy hierarchy.
>
> As unified hierarchy will always have id 1, this is guaranteed to
> return the path for the unified hierarchy if mounted; otherwise, it
> will return the path from the hierarchy which happens to occupy the
> lowest hierarchy id, which will usually be the first hierarchy mounted
> after boot.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Lennart Poettering <lennart@poettering.net>
> Cc: Kay Sievers <kay.sievers@vrfy.org>
> Cc: Jan Kaluža <jkaluza@redhat.com>
Acked-by: Li Zefan <lizefan@huawei.com>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/containers
WARNING: multiple messages have this Message-ID (diff)
From: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
"Kay Sievers" <kay.sievers-tD+1rO4QERM@public.gmane.org>,
"Lennart Poettering"
<lennart-mdGvqq1h2p+GdvJs77BJ7Q@public.gmane.org>,
"Jan Kaluža" <jkaluza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH cgroup/for-3.12] cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()
Date: Fri, 12 Jul 2013 15:49:53 +0800 [thread overview]
Message-ID: <51DFB521.6080800@huawei.com> (raw)
In-Reply-To: <20130711233448.GA2359-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
On 2013/7/12 7:34, Tejun Heo wrote:
>
> task_cgroup_path_from_hierarchy() was added for the planned new users
> and none of the currently planned users wants to know about multiple
> hierarchies. This patch drops the multiple hierarchy part and makes
> it always return the path in the first non-dummy hierarchy.
>
> As unified hierarchy will always have id 1, this is guaranteed to
> return the path for the unified hierarchy if mounted; otherwise, it
> will return the path from the hierarchy which happens to occupy the
> lowest hierarchy id, which will usually be the first hierarchy mounted
> after boot.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Lennart Poettering <lennart@poettering.net>
> Cc: Kay Sievers <kay.sievers@vrfy.org>
> Cc: Jan Kaluža <jkaluza@redhat.com>
Acked-by: Li Zefan <lizefan@huawei.com>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/containers
next prev parent reply other threads:[~2013-07-12 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 23:34 [PATCH cgroup/for-3.12] cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path() Tejun Heo
[not found] ` <20130711233448.GA2359-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2013-07-12 7:49 ` Li Zefan [this message]
2013-07-12 7:49 ` Li Zefan
2013-07-12 20:02 ` Tejun Heo
2013-07-12 20:02 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2013-07-11 23:34 Tejun Heo
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=51DFB521.6080800@huawei.com \
--to=lizefan-hv44wf8li93qt0dzr+alfa@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=jkaluza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kay.sievers-tD+1rO4QERM@public.gmane.org \
--cc=lennart-mdGvqq1h2p+GdvJs77BJ7Q@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.