Re: [KVM PATCH v3 3/3] KVM: Fix races in irqfd using new eventfd_kref_getinterface
From: Gregory Haskins
Date: Tue Jun 23 2009 - 10:56:23 EST
Gregory Haskins wrote:
> Michael S. Tsirkin wrote:
>
>
>> And note that multiple works can run on irqfd
>> in parallel.
>>
>>
>
> They can? I thought work-queue items were guaranteed to only schedule
> once? If what you say is true, its broken, I agree, and Ill need to
> revisit. Let me get back to you.
>
<sigh> Yep, you are right. This is broken in my code. :(
Will address in the next spin. Good catch.
-Greg
Attachment:
signature.asc
Description: OpenPGP digital signature