Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303657

[PATCH 4/5] cgroup: Export cgroup_is_descendant()

From Jan Kara <jack@suse.cz>
Newsgroups linux.kernel
Subject [PATCH 4/5] cgroup: Export cgroup_is_descendant()
Date 2016-01-07 16:30 +0100
Message-ID <qOkFI-1wu-19@gated-at.bofh.it> (permalink)
References <qOkFI-1wu-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


CFQ IO scheduler will use cgroup_is_descendant() to decide whether one
queue can preempt another once.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 4/5] cgroup: Export cgroup_is_descendant() Jan Kara <jack@suse.cz> - 2016-01-07 16:30 +0100
  Re: [PATCH 4/5] cgroup: Export cgroup_is_descendant() Tejun Heo <tj@kernel.org> - 2016-01-08 19:20 +0100

csiph-web