qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/6] migration/multifd: there is no spurious wakeup


From: Wei Yang
Subject: [Qemu-devel] [PATCH 6/6] migration/multifd: there is no spurious wakeup now
Date: Thu, 6 Jun 2019 16:35:01 +0800

The spurious wakeup is gone.

Signed-off-by: Wei Yang <address@hidden>
---
 migration/ram.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/migration/ram.c b/migration/ram.c
index 831b15833b..2490631d52 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1153,9 +1153,6 @@ static void *multifd_send_thread(void *opaque)
         } else if (p->quit) {
             qemu_mutex_unlock(&p->mutex);
             break;
-        } else {
-            qemu_mutex_unlock(&p->mutex);
-            /* sometimes there are spurious wakeups */
         }
     }
 
-- 
2.19.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]