Xiao Guangrong ae526e32bd migration: hold the lock only if it is really needed
Try to hold src_page_req_mutex only if the queue is not
empty

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2018-08-22 12:36:18 +02:00
..
2017-09-27 11:35:59 +01:00
2018-07-10 12:48:53 +01:00
2018-07-10 12:48:53 +01:00
2017-09-27 11:35:59 +01:00
2018-06-15 14:40:56 +01:00
2018-07-10 12:48:53 +01:00
2018-06-28 15:31:42 +01:00
2017-05-18 18:04:54 +02:00
2017-05-18 18:04:54 +02:00