[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/2] vl: flush all task from rcu queue before exiting
From: |
Denis Plotnikov |
Subject: |
[PATCH v1 0/2] vl: flush all task from rcu queue before exiting |
Date: |
Mon, 15 Nov 2021 12:41:41 +0300 |
v1 -> v0:
* move monitor cleanup to the very end of qemu cleanup [Paolo]
The goal is to notify management layer about device destruction on qemu
shutdown.
Without this series DEVICE_DELETED event may not be sent because of stuck tasks
in the rcu thread. The rcu tasks may stuck on qemu shutdown because the rcu
not always have enough time to run them.
Denis Plotnikov (2):
monitor: move monitor destruction to the very end of qemu cleanup
vl: flush all task from rcu queue before exiting
include/qemu/rcu.h | 1 +
monitor/monitor.c | 6 ++++++
softmmu/runstate.c | 4 +++-
util/rcu.c | 12 ++++++++++++
4 files changed, 22 insertions(+), 1 deletion(-)
--
2.25.1
- [PATCH v1 0/2] vl: flush all task from rcu queue before exiting,
Denis Plotnikov <=