[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/4] timer: make qemu_clock_enable sync betwe
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/4] timer: make qemu_clock_enable sync between disable and timer's cb |
Date: |
Mon, 19 Aug 2013 11:31:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 19/08/2013 09:14, liu ping fan ha scritto:
>> > But does timerlists need a lock, or does the BQL suffice? If it
>> > doesn't, there is no need for events_list_lock either. Is
>> > qemu_clock_enable called outside the BQL?
>> >
> Currently, no such guarantee based on BQL. But if we enforce that an
> backend thread holds BQL before it cleans up resources, we can resort
> to BQL. (so document this, and save the events_list_lock?)
Yes, please.
Paolo
- Re: [Qemu-devel] [PATCH v2 1/4] seqlock: introduce read-write seqlock, (continued)
[Qemu-devel] [PATCH v2 2/4] timer: protect timers_state's clock with seqlock, Liu Ping Fan, 2013/08/13
[Qemu-devel] [PATCH v2 3/4] qemu-thread: add QemuEvent, Liu Ping Fan, 2013/08/13
[Qemu-devel] [PATCH v2 4/4] timer: make qemu_clock_enable sync between disable and timer's cb, Liu Ping Fan, 2013/08/13