qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] [RFC] Convert Qemu Timer List and Active Timers


From: Alex Bligh
Subject: Re: [Qemu-devel] [PATCH] [RFC] Convert Qemu Timer List and Active Timers to RCU
Date: Mon, 17 Feb 2014 16:37:26 +0000

On 17 Feb 2014, at 16:13, Mike Day wrote:

>> 1. You seem to be removing the use of the active_timers_lock and replacing 
>> it by
>>   rcu (fine). However, you seem to have left the qemu_mutex_destroy in
>>   timerlist_free, and left the mutex in QEMUTimerList. Any reason why we 
>> need  both?
>> 
> 
> I responded incorrectly to this yesterday. We still need the mutex
> here (active_timers_lock) to provide synchronization for list updates.
> The difference now is that we don't need to hold the mutex for
> traversing the list. But to update the list we still need to hold the
> mutex.

Of course, my bad.

-- 
Alex Bligh







reply via email to

[Prev in Thread] Current Thread [Next in Thread]