[PATCH] fix busy loop in migration thread init
Since we do not set the task state to TASK_INTERRUPTIBLE, we busy loop. On larger SMP this can actually result in a lockup due to the way migration thread initalisation is done (nr_cpus threads are created and they all busy loop until the scheduler evenly distributes them, one on each cpu. With this rogue thread busy looping things can become unbalanced and the migration threads never distribute themselves onto all cpus).
Showing
Please register or sign in to comment