do_migrate: kick scheduler on target CPU
Change-Id: Ib5875ecf0c6a3118d32973329a6f1595a910562f
This commit is contained in:
committed by
Masamichi Takagi
parent
cd46cbd4b3
commit
f64731ab34
@ -3303,6 +3303,9 @@ static void do_migrate(void)
|
|||||||
__FUNCTION__, req->thread->tid, old_cpu_id, cpu_id);
|
__FUNCTION__, req->thread->tid, old_cpu_id, cpu_id);
|
||||||
|
|
||||||
v->flags |= CPU_FLAG_NEED_RESCHED;
|
v->flags |= CPU_FLAG_NEED_RESCHED;
|
||||||
|
/* Kick scheduler on target CPU */
|
||||||
|
ihk_mc_interrupt_cpu(cpu_id, ihk_mc_get_vector(IHK_GV_IKC));
|
||||||
|
|
||||||
waitq_wakeup(&req->wq);
|
waitq_wakeup(&req->wq);
|
||||||
double_rq_unlock(cur_v, v, irqstate);
|
double_rq_unlock(cur_v, v, irqstate);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user