[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] qemu-timer: make qemu_timer_mod_ns() and qemu_t
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 0/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe |
Date: |
Mon, 12 Aug 2013 14:49:27 +0200 |
These patches are based on Alex Bligh's v10 AioContext timers series.
The purpose of these patches is to eventually allow device models to set and
cancel timers without holding the global mutex. When the device model runs in
a vcpu thread and the iothread processes timers, the
QEMUTimerList->active_timers must be protected from concurrent access.
Patch 1 is a clean-up.
Patch 2 is the entire change needed to protect ->active_timers.
Stefan Hajnoczi (2):
qemu-timer: drop outdated signal safety comments
qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe
include/qemu/timer.h | 17 +++++++++++++
qemu-timer.c | 70 ++++++++++++++++++++++++++++++++++++++--------------
2 files changed, 69 insertions(+), 18 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH 0/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/2] qemu-timer: drop outdated signal safety comments, Stefan Hajnoczi, 2013/08/12
- [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, Stefan Hajnoczi, 2013/08/12
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, Alex Bligh, 2013/08/12
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, liu ping fan, 2013/08/14
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, Stefan Hajnoczi, 2013/08/15
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, liu ping fan, 2013/08/15
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, liu ping fan, 2013/08/15
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, Stefan Hajnoczi, 2013/08/15
- Re: [Qemu-devel] [PATCH 2/2] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe, Paolo Bonzini, 2013/08/19