diff mbox series

migration/postcopy: remove redundant cpu_synchronize_all_post_init

Message ID 20190715080751.24304-1-richardw.yang@linux.intel.com
State New
Headers show
Series migration/postcopy: remove redundant cpu_synchronize_all_post_init | expand

Commit Message

Wei Yang July 15, 2019, 8:07 a.m. UTC
cpu_synchronize_all_post_init() is called twice in
loadvm_postcopy_handle_run_bh(), so remove one redundant call.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
 migration/savevm.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/migration/savevm.c b/migration/savevm.c
index 1d4fe7544d..863f5416ac 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1889,7 +1889,6 @@  static void loadvm_postcopy_handle_run_bh(void *opaque)
     }
 
     trace_loadvm_postcopy_handle_run_cpu_sync();
-    cpu_synchronize_all_post_init();
 
     trace_loadvm_postcopy_handle_run_vmstart();