Skip to content
Snippets Groups Projects
Commit 30e8a94c authored by mihairenea's avatar mihairenea
Browse files

pb_submit_plan() triggers rescheduling

parent a438de76
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ int pb_submit_plan(struct pb_init_struct *initstr, struct rq *rq)
pb->is_initialized = 1; // must be initialized last
resched_curr(rq); // reschedule asap
return 0;
}
/*
......@@ -62,12 +64,6 @@ void init_pb_rq(struct pb_rq *pb_rq)
}
EXPORT_SYMBOL(init_pb_rq);
void finalize_pq_rq_init(struct pb_rq *pb_rq)
{
pb_rq->is_initialized = 1;
}
// task enters the runnable state
static void
enqueue_task_pb(struct rq *rq, struct task_struct *p, int flags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment