diff options
Diffstat (limited to 'litmus/sched_pfair.c')
| -rw-r--r-- | litmus/sched_pfair.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/litmus/sched_pfair.c b/litmus/sched_pfair.c index 16f1065bbdca..72c06a492ef9 100644 --- a/litmus/sched_pfair.c +++ b/litmus/sched_pfair.c | |||
| @@ -850,6 +850,13 @@ static long pfair_admit_task(struct task_struct* t) | |||
| 850 | cpu_cluster(pstate[task_cpu(t)])) | 850 | cpu_cluster(pstate[task_cpu(t)])) |
| 851 | return -EINVAL; | 851 | return -EINVAL; |
| 852 | 852 | ||
| 853 | if (get_rt_period(t) != get_rt_relative_deadline(t)) { | ||
| 854 | printk(KERN_INFO "%s: Admission rejected. " | ||
| 855 | "Only implicit deadlines are currently supported.\n", | ||
| 856 | litmus->plugin_name); | ||
| 857 | return -EINVAL; | ||
| 858 | } | ||
| 859 | |||
| 853 | /* Pfair is a tick-based method, so the time | 860 | /* Pfair is a tick-based method, so the time |
| 854 | * of interest is jiffies. Calculate tick-based | 861 | * of interest is jiffies. Calculate tick-based |
| 855 | * times for everything. | 862 | * times for everything. |
