提交 f9fc05e7 编写于 作者: L Linus Torvalds

Merge branch 'sched-fixes-for-linus' of...

Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  sched: CPU remove deadlock fix
...@@ -6587,7 +6587,9 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu) ...@@ -6587,7 +6587,9 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
req = list_entry(rq->migration_queue.next, req = list_entry(rq->migration_queue.next,
struct migration_req, list); struct migration_req, list);
list_del_init(&req->list); list_del_init(&req->list);
spin_unlock_irq(&rq->lock);
complete(&req->done); complete(&req->done);
spin_lock_irq(&rq->lock);
} }
spin_unlock_irq(&rq->lock); spin_unlock_irq(&rq->lock);
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册