Commit 6d235bf5 authored by Ingo Molnar's avatar Ingo Molnar

migration threads should sleep interruptible.

parent 33110a83
...@@ -1609,7 +1609,7 @@ static int migration_thread(void * unused) ...@@ -1609,7 +1609,7 @@ static int migration_thread(void * unused)
spin_lock_irqsave(&rq->lock, flags); spin_lock_irqsave(&rq->lock, flags);
head = &rq->migration_queue; head = &rq->migration_queue;
current->state = TASK_UNINTERRUPTIBLE; current->state = TASK_INTERRUPTIBLE;
if (list_empty(head)) { if (list_empty(head)) {
spin_unlock_irqrestore(&rq->lock, flags); spin_unlock_irqrestore(&rq->lock, flags);
schedule(); schedule();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment