diff options
Diffstat (limited to 'litmus/aux_tasks.c')
-rwxr-xr-x[-rw-r--r--] | litmus/aux_tasks.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/litmus/aux_tasks.c b/litmus/aux_tasks.c index 9572d960b46a..bd7bcbed58fe 100644..100755 --- a/litmus/aux_tasks.c +++ b/litmus/aux_tasks.c | |||
@@ -50,7 +50,7 @@ int exit_aux_task(struct task_struct *t) | |||
50 | 50 | ||
51 | TRACE_CUR("Aux task %s/%d is exiting from %s/%d.\n", t->comm, t->pid, leader->comm, leader->pid); | 51 | TRACE_CUR("Aux task %s/%d is exiting from %s/%d.\n", t->comm, t->pid, leader->comm, leader->pid); |
52 | 52 | ||
53 | #if 0 | 53 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
54 | list_del(&tsk_rt(t)->aux_task_node); | 54 | list_del(&tsk_rt(t)->aux_task_node); |
55 | 55 | ||
56 | tsk_rt(t)->is_aux_task = 0; | 56 | tsk_rt(t)->is_aux_task = 0; |
@@ -67,7 +67,7 @@ static int aux_tasks_increase_priority(struct task_struct *leader, struct task_s | |||
67 | { | 67 | { |
68 | int retval = 0; | 68 | int retval = 0; |
69 | 69 | ||
70 | #if 0 | 70 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
71 | struct list_head *pos; | 71 | struct list_head *pos; |
72 | 72 | ||
73 | TRACE_CUR("Increasing priority of aux tasks in group %s/%d.\n", leader->comm, leader->pid); | 73 | TRACE_CUR("Increasing priority of aux tasks in group %s/%d.\n", leader->comm, leader->pid); |
@@ -94,7 +94,7 @@ static int aux_tasks_decrease_priority(struct task_struct *leader, struct task_s | |||
94 | { | 94 | { |
95 | int retval = 0; | 95 | int retval = 0; |
96 | 96 | ||
97 | #if 0 | 97 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
98 | struct list_head *pos; | 98 | struct list_head *pos; |
99 | 99 | ||
100 | TRACE_CUR("Decreasing priority of aux tasks in group %s/%d.\n", leader->comm, leader->pid); | 100 | TRACE_CUR("Decreasing priority of aux tasks in group %s/%d.\n", leader->comm, leader->pid); |
@@ -121,7 +121,7 @@ int aux_task_owner_increase_priority(struct task_struct *t) | |||
121 | { | 121 | { |
122 | int retval = 0; | 122 | int retval = 0; |
123 | 123 | ||
124 | #if 0 | 124 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
125 | struct task_struct *leader; | 125 | struct task_struct *leader; |
126 | struct task_struct *hp = NULL; | 126 | struct task_struct *hp = NULL; |
127 | struct task_struct *hp_eff = NULL; | 127 | struct task_struct *hp_eff = NULL; |
@@ -166,7 +166,7 @@ int aux_task_owner_decrease_priority(struct task_struct *t) | |||
166 | { | 166 | { |
167 | int retval = 0; | 167 | int retval = 0; |
168 | 168 | ||
169 | #if 0 | 169 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
170 | struct task_struct *leader; | 170 | struct task_struct *leader; |
171 | struct task_struct *hp = NULL; | 171 | struct task_struct *hp = NULL; |
172 | struct task_struct *hp_eff = NULL; | 172 | struct task_struct *hp_eff = NULL; |
@@ -214,7 +214,7 @@ long enable_aux_task_owner(struct task_struct *t) | |||
214 | { | 214 | { |
215 | long retval = 0; | 215 | long retval = 0; |
216 | 216 | ||
217 | #if 0 | 217 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
218 | struct task_struct *leader = t->group_leader; | 218 | struct task_struct *leader = t->group_leader; |
219 | struct task_struct *hp; | 219 | struct task_struct *hp; |
220 | 220 | ||
@@ -252,7 +252,7 @@ long disable_aux_task_owner(struct task_struct *t) | |||
252 | { | 252 | { |
253 | long retval = 0; | 253 | long retval = 0; |
254 | 254 | ||
255 | #if 0 | 255 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
256 | struct task_struct *leader = t->group_leader; | 256 | struct task_struct *leader = t->group_leader; |
257 | struct task_struct *hp; | 257 | struct task_struct *hp; |
258 | struct task_struct *new_hp = NULL; | 258 | struct task_struct *new_hp = NULL; |
@@ -344,7 +344,7 @@ static long __do_enable_aux_tasks(void) | |||
344 | /* hasn't been aux_tasks_increase_priorityted into rt. make it a aux. */ | 344 | /* hasn't been aux_tasks_increase_priorityted into rt. make it a aux. */ |
345 | tsk_rt(t)->is_aux_task = 1; | 345 | tsk_rt(t)->is_aux_task = 1; |
346 | 346 | ||
347 | #if 0 | 347 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
348 | list_add_tail(&tsk_rt(t)->aux_task_node, &tsk_aux(leader)->aux_tasks); | 348 | list_add_tail(&tsk_rt(t)->aux_task_node, &tsk_aux(leader)->aux_tasks); |
349 | #endif | 349 | #endif |
350 | 350 | ||
@@ -368,7 +368,7 @@ static long __do_enable_aux_tasks(void) | |||
368 | } while(t != leader); | 368 | } while(t != leader); |
369 | 369 | ||
370 | 370 | ||
371 | #if 0 | 371 | #ifdef CONFIG_REALTIME_AUX_TASK_PRIORITY_INHERITANCE |
372 | if (!binheap_empty(&tsk_aux(leader)->aux_task_owners)) { | 372 | if (!binheap_empty(&tsk_aux(leader)->aux_task_owners)) { |
373 | struct task_struct *hp = container_of(binheap_top_entry(&tsk_aux(leader)->aux_task_owners, struct rt_param, aux_task_owner_node), | 373 | struct task_struct *hp = container_of(binheap_top_entry(&tsk_aux(leader)->aux_task_owners, struct rt_param, aux_task_owner_node), |
374 | struct task_struct, rt_param); | 374 | struct task_struct, rt_param); |