aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-23 14:36:32 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-23 14:36:32 -0400
commit3d1644cdf54c51a64f8fe46555c5dbda0fe868e1 (patch)
treeba174b8a989abd376fd08819b5fe0db2b08d6062 /include
parent7782786abd16f5b9221fa766feea1b36bcebabb9 (diff)
break deadlines in EDF schemes by PID
Adds the new priority comparison function edf_higher_prio(). By the use of PIDs priorities are now unique. The edf_common.c code uses the new function. Does not handle priority inheritance yet.
Diffstat (limited to 'include')
-rw-r--r--include/linux/edf_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/edf_common.h b/include/linux/edf_common.h
index 7a222d419c..3b6a1de457 100644
--- a/include/linux/edf_common.h
+++ b/include/linux/edf_common.h
@@ -26,6 +26,9 @@ typedef struct _edf_domain {
26 26
27void edf_domain_init(edf_domain_t *edf, edf_check_resched_needed_t f); 27void edf_domain_init(edf_domain_t *edf, edf_check_resched_needed_t f);
28 28
29int edf_higher_prio(struct task_struct* first,
30 struct task_struct* second);
31
29void __add_ready(edf_domain_t* edf, struct task_struct *new); 32void __add_ready(edf_domain_t* edf, struct task_struct *new);
30void __add_release(edf_domain_t* edf, struct task_struct *task); 33void __add_release(edf_domain_t* edf, struct task_struct *task);
31 34