lkml.org 
[lkml]   [2016]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/5] cgroup: Export cgroup_is_descendant()
Date
CFQ IO scheduler will use cgroup_is_descendant() to decide whether one
queue can preempt another one.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.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
\
 
 \ /
  Last update: 2016-01-12 17:21    [W:0.137 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site