Skip to content
Commit 9b62e5b1 authored by Jan Blunck's avatar Jan Blunck Committed by Avi Kivity
Browse files

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: default avatarJan Blunck <jblunck@suse.de>
Signed-off-by: default avatarSven-Thorsten Dietrich <sven@thebigcorporation.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 14d0bc1f
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