diff options
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r-- | litmus/sched_cedf.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index a42c06c0ad14..b931c83579bc 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -1777,16 +1777,6 @@ static void cedf_task_exit(struct task_struct * t) | |||
1777 | cedf_change_prio_pai_tasklet(t, NULL); | 1777 | cedf_change_prio_pai_tasklet(t, NULL); |
1778 | #endif | 1778 | #endif |
1779 | 1779 | ||
1780 | /* | ||
1781 | BUG: t is forced to exit by another task. | ||
1782 | meanwhile, the scheduler selects to migrate to be scheduled | ||
1783 | |||
1784 | -- this triggers BAD BAD BAD | ||
1785 | |||
1786 | if (current != t) and t is linked (but not scheduled?), do something. | ||
1787 | |||
1788 | */ | ||
1789 | |||
1790 | /* unlink if necessary */ | 1780 | /* unlink if necessary */ |
1791 | raw_readyq_lock_irqsave(&cluster->cluster_lock, flags); | 1781 | raw_readyq_lock_irqsave(&cluster->cluster_lock, flags); |
1792 | 1782 | ||
@@ -1887,8 +1877,8 @@ static long cedf_admit_task(struct task_struct* tsk) | |||
1887 | struct budget_tracker_ops* ops = NULL; | 1877 | struct budget_tracker_ops* ops = NULL; |
1888 | 1878 | ||
1889 | if (remote_cluster(task_cpu(tsk)) != task_cpu_cluster(tsk)) { | 1879 | if (remote_cluster(task_cpu(tsk)) != task_cpu_cluster(tsk)) { |
1890 | printk("rejected admit: incorrect cluster.\n"); | 1880 | // printk("rejected admit: incorrect cluster.\n"); |
1891 | return -EINVAL; | 1881 | // return -EINVAL; |
1892 | } | 1882 | } |
1893 | 1883 | ||
1894 | if (budget_enforced(tsk) || budget_signalled(tsk)) { | 1884 | if (budget_enforced(tsk) || budget_signalled(tsk)) { |