aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-10-19 00:29:15 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-10-19 00:29:15 -0400
commit2326b2b05adee72ad7fa811e3a766355c732cfda (patch)
tree20abd3f4f192b29739ea11f8aa1d243839430cbf /litmus/litmus.c
parent3b286b3c7d25f2abd71ccb7853d1398430a65552 (diff)
Try and debug the queue.wip-mc
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 070ecefaeac..654815a124b 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -397,6 +397,8 @@ static void reinit_litmus_state(struct task_struct* p, int restore)
397 void * ctrl_page_orig = NULL; 397 void * ctrl_page_orig = NULL;
398#endif 398#endif
399 399
400 TRACE_CUR("restore: %d\n", restore);
401
400 if (restore) { 402 if (restore) {
401 /* Safe user-space provided configuration data. 403 /* Safe user-space provided configuration data.
402 * and allocated page. */ 404 * and allocated page. */
@@ -469,8 +471,6 @@ long litmus_admit_task(struct task_struct* tsk)
469 tsk_rt(tsk)->heap_node = bheap_node_alloc(GFP_ATOMIC); 471 tsk_rt(tsk)->heap_node = bheap_node_alloc(GFP_ATOMIC);
470 tsk_rt(tsk)->rel_heap = release_heap_alloc(GFP_ATOMIC); 472 tsk_rt(tsk)->rel_heap = release_heap_alloc(GFP_ATOMIC);
471 473
472 INIT_LIST_HEAD(&tsk_rt(tsk)->color_page_info_list);
473
474 if (!tsk_rt(tsk)->heap_node || !tsk_rt(tsk)->rel_heap) { 474 if (!tsk_rt(tsk)->heap_node || !tsk_rt(tsk)->rel_heap) {
475 printk(KERN_WARNING "litmus: no more heap node memory!?\n"); 475 printk(KERN_WARNING "litmus: no more heap node memory!?\n");
476 476