]> Git Repo - qemu.git/commit
migration: hold the lock only if it is really needed
authorXiao Guangrong <[email protected]>
Tue, 21 Aug 2018 08:10:25 +0000 (16:10 +0800)
committerJuan Quintela <[email protected]>
Wed, 22 Aug 2018 10:36:18 +0000 (12:36 +0200)
commitae526e32bd36cfb84045c8d2fd34e0b9e39a52f8
treebd6083598307d47aec30506bfe26b7ec0fe4ece5
parent5e5fdcff28ebbba2004c6498218f506f364f1e8a
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 <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Xiao Guangrong <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
include/qemu/queue.h
migration/ram.c
This page took 0.025141 seconds and 4 git commands to generate.