commit | 7103f60de8bed21a0ad5d15d2ad5b7a333dda201 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Tue Aug 19 16:45:56 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Aug 21 13:50:22 2014 +0200 |
tree | 3f78e7d4a4e03ec6c81616239bad7a2dde205cf0 | |
parent | e0ad0b477c36fde6b0923670647495d07bf42f94 [diff] |
KVM: avoid unnecessary synchronize_rcu We dont have to wait for a grace period if there is no oldpid that we are going to free. putpid also checks for NULL, so this patch only fences synchronize_rcu. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>