aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-10-18 02:31:12 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-10-18 13:08:55 -0400
commit00691f091b810f1da96f4e18a5cf0f9875e8e942 (patch)
tree64e18171f9d11f95556051e916e0817bea609695 /litmus/litmus.c
parent582d750a1bd79087e510d1b38e4c2457aa3d8b41 (diff)
A queue for reading in pages.
This is not tested and probably won't work. Signed-off-by: Christopher Kenna <cjk@cs.unc.edu>
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index ba6397a461d5..74e798992fa0 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -466,6 +466,8 @@ long litmus_admit_task(struct task_struct* tsk)
466 tsk_rt(tsk)->heap_node = bheap_node_alloc(GFP_ATOMIC); 466 tsk_rt(tsk)->heap_node = bheap_node_alloc(GFP_ATOMIC);
467 tsk_rt(tsk)->rel_heap = release_heap_alloc(GFP_ATOMIC); 467 tsk_rt(tsk)->rel_heap = release_heap_alloc(GFP_ATOMIC);
468 468
469 INIT_LIST_HEAD(&tsk_rt(tsk)->color_page_info_list);
470
469 if (!tsk_rt(tsk)->heap_node || !tsk_rt(tsk)->rel_heap) { 471 if (!tsk_rt(tsk)->heap_node || !tsk_rt(tsk)->rel_heap) {
470 printk(KERN_WARNING "litmus: no more heap node memory!?\n"); 472 printk(KERN_WARNING "litmus: no more heap node memory!?\n");
471 473