Skip to content
Snippets Groups Projects
Commit 5e9f0f1b authored by mandersch's avatar mandersch
Browse files

Adjust module template, add memory allocation for pb plan

parent 9d2329f5
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ int pb_submit_plan(struct pb_init_struct *initstr, struct rq *rq)
void set_pb_plan_size(struct pb_rq *pb_rq, unsigned int size)
{
pb_rq->size = size;
pb_rq->plan = kmalloc( sizeof(struct plan_entry) * size ,GFP_KERNEL);
}
EXPORT_SYMBOL(set_pb_plan_size);
......
......@@ -22,7 +22,7 @@ my @modules;
if (-d $output_dir)
{
system("rm -r $output_dir");
system("sudo rm -rf $output_dir");
mkdir($output_dir) || die "Failed to create $output_dir";
}
......
EXEC_TIME, IDLE_TIME
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 3000000000
3000000000 , 0
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 1000000000
1000000000 , 0
EXEC_TIME, IDLE_TIME
3600000000000, 2000000000
19900000000, 1900000000
1000000000, 0
......@@ -32,17 +32,11 @@ static void init_rq(struct pb_rq *pb_rq)
static int __init pb_client_init(void)
{
// struct task_struct *proxy_task;
struct rq *rq;
// proxy_task = kthread_create(loop_thread_func, NULL, "PB proxy thread");
// proxy_task->sched_class = &pb_sched_class;
rq = this_rq();
init_rq(&rq->pb);
// rq->pb.proxy_task = proxy_task;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment