[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
- [Qemu-devel] [PATCH 0/6] multifd: a new mechanism for send thread sync, Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 2/6] migration/multifd: notify channels_ready when send thread starts, Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 4/6] migration/multifd: used must not be 0 for a pending job, Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 5/6] migration/multifd: use boolean for pending_job is enough, Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 3/6] migration/multifd: use sync field to synchronize send threads, Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 1/6] migration/multifd: move MultiFDSendParams handling into multifd_send_fill_packet(), Wei Yang, 2019/06/06
- [Qemu-devel] [PATCH 6/6] migration/multifd: there is no spurious wakeup now,
Wei Yang <=