[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/3] qemu-timer: make qemu_timer_mod_ns() and
From: |
Mike Day |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/3] qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe |
Date: |
Mon, 07 Oct 2013 12:14:05 -0400 |
User-agent: |
Notmuch/0.13.2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-redhat-linux-gnu) |
Paolo Bonzini <address@hidden> writes:
> Il 30/09/2013 15:34, Alex Bligh ha scritto:
>>
>> I think the most likely change here is that the walkers might
>> move outside the BQL. Given modification of this list is so rare,
>> the lock would be very very read heavy, so RCU is probably a
>> sensible option.
>
> I agree. Keeping the write side on the BQL is sane, but RCU-protecting
> the read side actually makes the rules simpler.
>
> Mike, would you like to give it a shot?
Yes, I will. I'll have a patchset for review within a couple of days.
Mike
--
Mike Day | + 1 919 371-8786 | address@hidden
"Endurance is a Virtue"