Commit 9b62e5b
KVM: Wake up waitqueue before calling get_cpu()
This moves the get_cpu() call down to be called after we wake up the
waiters. Therefore the waitqueue locks can safely be rt mutex.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>1 parent 14d0bc1 commit 9b62e5b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4569 | 4569 | | |
4570 | 4570 | | |
4571 | 4571 | | |
4572 | | - | |
| 4572 | + | |
4573 | 4573 | | |
4574 | 4574 | | |
4575 | 4575 | | |
| |||
4579 | 4579 | | |
4580 | 4580 | | |
4581 | 4581 | | |
| 4582 | + | |
4582 | 4583 | | |
4583 | 4584 | | |
4584 | 4585 | | |
| |||
0 commit comments