do_migrate(): signal migrated thread before releasing runq lock

This commit is contained in:
Balazs Gerofi
2017-01-25 14:39:26 +09:00
parent b812848a0e
commit addbe91e59
4 changed files with 51 additions and 15 deletions

View File

@@ -790,6 +790,7 @@ void spin_sleep_or_schedule(void);
void runq_add_thread(struct thread *thread, int cpu_id);
void runq_del_thread(struct thread *thread, int cpu_id);
int sched_wakeup_thread(struct thread *thread, int valid_states);
int sched_wakeup_thread_locked(struct thread *thread, int valid_states);
void sched_request_migrate(int cpu_id, struct thread *thread);
void check_need_resched(void);