[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452612259-5480-5-git-send-email-jack@suse.cz>
Date: Tue, 12 Jan 2016 16:24:18 +0100
From: Jan Kara <jack@...e.cz>
To: axboe@...nel.dk
Cc: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org,
Jeff Moyer <jmoyer@...hat.com>, Jan Kara <jack@...e.cz>
Subject: [PATCH 4/5] cgroup: Export cgroup_is_descendant()
CFQ IO scheduler will use cgroup_is_descendant() to decide whether one
queue can preempt another one.
Acked-by: Tejun Heo <tj@...nel.org>
Signed-off-by: Jan Kara <jack@...e.cz>
---
kernel/cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 470f6536b9e8..c4d74c10dfcb 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -483,6 +483,7 @@ bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor)
}
return false;
}
+EXPORT_SYMBOL_GPL(cgroup_is_descendant);
static int notify_on_release(const struct cgroup *cgrp)
{
--
2.6.2
Powered by blists - more mailing lists