migration: fix RCU deadlock
commitd09a6fde1590ca3a45b608b6873a680f208dfeb5
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2015 06:47:58 +0000 (9 08:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2015 06:47:58 +0000 (9 08:47 +0200)
tree9314bf17c73673d34c162fdf6a2a2e42d75efbe2
parentacf7b7fdf31fa76b53803790917c8acf23a2badb
migration: fix RCU deadlock

migration_end calls synchronize_rcu() within a critical section.
That causes a deadlock; move the call after rcu_read_unlock().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
migration/ram.c