From: Tejun Heo <tj@kernel.org>
To: axboe@kernel.dk, hannes@cmpxchg.org, lizefan@huawei.com
Cc: linux-kernel@vger.kernel.org, vgoyal@redhat.com,
avanzini.arianna@gmail.com, cgroups@vger.kernel.org,
kernel-team@fb.com, Tejun Heo <tj@kernel.org>
Subject: [PATCH 1/4] cgroup: export cgrp_dfl_root
Date: Sun, 2 Aug 2015 16:23:41 -0400 [thread overview]
Message-ID: <1438547024-23497-2-git-send-email-tj@kernel.org> (raw)
In-Reply-To: <1438547024-23497-1-git-send-email-tj@kernel.org>
While cgroup subsystems can't be modules, blkcg supports dynamically
loadable policies which interact with cgroup core. Export
cgrp_dfl_root so that cgroup_on_dfl() can be used in those modules.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
---
kernel/cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 1276569..9c8eb17 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -145,6 +145,7 @@ static const char *cgroup_subsys_name[] = {
* part of that cgroup.
*/
struct cgroup_root cgrp_dfl_root;
+EXPORT_SYMBOL_GPL(cgrp_dfl_root);
/*
* The default hierarchy always exists but is hidden until mounted for the
--
2.4.3
next prev parent reply other threads:[~2015-08-02 20:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-02 20:23 [PATCHSET cgroup,block/for-4.3] cgroup, blkcg: establish controller interface conventions Tejun Heo
2015-08-02 20:23 ` Tejun Heo
2015-08-02 20:23 ` Tejun Heo [this message]
[not found] ` <1438547024-23497-2-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-08-05 8:18 ` [PATCH 1/4] cgroup: export cgrp_dfl_root Zefan Li
2015-08-05 8:18 ` Zefan Li
2015-08-05 20:23 ` Tejun Heo
2015-08-05 20:23 ` Tejun Heo
2015-08-02 20:23 ` [PATCH 2/4] cgroup: define controller file conventions Tejun Heo
[not found] ` <1438547024-23497-3-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-08-03 13:36 ` Johannes Weiner
2015-08-03 13:36 ` Johannes Weiner
2015-08-05 8:19 ` Zefan Li
2015-08-05 8:19 ` Zefan Li
2015-08-02 20:23 ` [PATCH 3/4] blkcg: s/CFQ_WEIGHT_*/CFQ_WEIGHT_LEGACY_*/ Tejun Heo
[not found] ` <1438547024-23497-1-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-08-02 20:23 ` [PATCH 4/4] blkcg: use CGROUP_WEIGHT_* scale for io.weight on the unified hierarchy Tejun Heo
2015-08-02 20:23 ` 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=1438547024-23497-2-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=avanzini.arianna@gmail.com \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=vgoyal@redhat.com \
/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.