diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-06 16:49:35 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-06 16:49:35 -0400 |
commit | 44b10b376140b33e03ad54c927564f5f720b61ca (patch) | |
tree | 8fd06d65d8518da0c43e26b95c94e1ecb77926bd /include | |
parent | aab1d2517ef6e9a8a4586d2d93718d1d8e717b95 (diff) |
Exported page size via color proc interface
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/rm_common.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/litmus/rm_common.h b/include/litmus/rm_common.h new file mode 100644 index 000000000000..3e03d9b5d140 --- /dev/null +++ b/include/litmus/rm_common.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * RM common data structures and utility functions shared by all RM | ||
3 | * based scheduler plugins | ||
4 | */ | ||
5 | |||
6 | /* CLEANUP: Add comments and make it less messy. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __UNC_RM_COMMON_H__ | ||
11 | #define __UNC_RM_COMMON_H__ | ||
12 | |||
13 | #include <litmus/rt_domain.h> | ||
14 | |||
15 | void rm_domain_init(rt_domain_t* rt, check_resched_needed_t resched, | ||
16 | release_jobs_t release); | ||
17 | |||
18 | int rm_higher_prio(struct task_struct* first, | ||
19 | struct task_struct* second); | ||
20 | |||
21 | int rm_ready_order(struct bheap_node* a, struct bheap_node* b); | ||
22 | |||
23 | int rm_preemption_needed(rt_domain_t* rt, struct task_struct *t); | ||
24 | |||
25 | #endif | ||