aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_plugin.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-10-22 22:47:09 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-11 17:57:35 -0500
commit52d5524f64b4f118672f5d80235221fe1c622c18 (patch)
tree25e572edf47993464dffd1f35f64a1ff942e659d /litmus/sched_plugin.c
parente06e8374b5c04aeaddf14e9686842011f80f5664 (diff)
C-EDF: move /proc/litmus/cluster_cache to /proc/litmus/plugins/C-EDF/cluster
Make use of the new per-plugin proc file infrastructure to avoid littering the global namespace. While at it, also move all the relevant bits to sched_cedf.c. In the future, each plugin's parameters should be handled in the respective plugin file.
Diffstat (limited to 'litmus/sched_plugin.c')
-rw-r--r--litmus/sched_plugin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/litmus/sched_plugin.c b/litmus/sched_plugin.c
index 3543b7baff53..d706a08fb313 100644
--- a/litmus/sched_plugin.c
+++ b/litmus/sched_plugin.c
@@ -171,14 +171,6 @@ struct sched_plugin linux_sched_plugin = {
171}; 171};
172 172
173/* 173/*
174 * The cluster size is needed in C-EDF: it makes sense only to cluster
175 * around L2 or L3, so if cluster_cache_index = 2 (default) we cluster
176 * all the CPUs that shares a L2 cache, while cluster_cache_index = 3
177 * we cluster all CPs that shares a L3 cache
178 */
179int cluster_cache_index = 2;
180
181/*
182 * The reference to current plugin that is used to schedule tasks within 174 * The reference to current plugin that is used to schedule tasks within
183 * the system. It stores references to actual function implementations 175 * the system. It stores references to actual function implementations
184 * Should be initialized by calling "init_***_plugin()" 176 * Should be initialized by calling "init_***_plugin()"