Timer list lock contention
Hi!
I am wondering is there any case when timer list lock could be under contention?
Thanks,
Serge
Quoted 4 lines · Sergey Fedorov
Hi!
I am wondering is there any case when timer list lock could be under contention?
Most of the time, the timer list is accessed under the "big QEMU lock" (qemu_mutex_lock_iothread/qemu_mutext_unlock_iothread), so the timer list lock itself shouldn't have contention at all.
That said, there are plans to decrease the cost of the lock by not taking it at all in some cases.
Paolo