[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 26/37] sd: free timer
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH 26/37] sd: free timer |
Date: |
Thu, 21 Jul 2016 21:17:58 +0400 |
Hi
On Thu, Jul 21, 2016 at 8:53 PM, Andrew Baumann
<address@hidden> wrote:
> Thanks for the fix. This was based on some other timer code I found in the
> tree that was evidently also leaky (I don't remember where unfortunately).
>
> One thing: are you sure it is safe to call timer_del() again if the timer may
> already have been deleted? It looks that way from the implementation, but the
> header comment isn't explicit.
Yes, it is safe, afaik, it's removing it from the list of active timers.
> Otherwise,
> Reviewed-by: Andrew Baumann <address@hidden>
thanks
--
Marc-André Lureau
- [Qemu-devel] [PATCH 24/37] pc: keep gsi reference, (continued)
[Qemu-devel] [PATCH 25/37] ahci: free irqs array, marcandre . lureau, 2016/07/19
[Qemu-devel] [PATCH 26/37] sd: free timer, marcandre . lureau, 2016/07/19
[Qemu-devel] [PATCH 27/37] qjson: free str, marcandre . lureau, 2016/07/19
[Qemu-devel] [PATCH 28/37] virtio-input: free config list, marcandre . lureau, 2016/07/19
[Qemu-devel] [PATCH 29/37] ipmi: free extern timer, marcandre . lureau, 2016/07/19
[Qemu-devel] [PATCH 30/37] usb: free USBDevice.strings, marcandre . lureau, 2016/07/19