Re: [PATCHv2 1/3] eventfd: allow atomic read and waitqueue remove

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

 



On 01/21/2010 07:23 PM, Michael S. Tsirkin wrote:

I agree.

But I think we can solve this in another way in .32: we can clear the
eventfd from irqfd->inject work, which is in process context.  The new
stuff is only needed for lockless clearing, no?
No, AFAIK there's no way to clear the counter from kernel without
this patch.

Can't you read from the file?

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux