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

Avi Kivity
2010-01-21T17:14:05Z

On 01/21/2010 07:13 PM, Avi Kivity wrote:
>
> 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?
>

I meant atomic clearing, when we inject interrupts from the irqfd atomic
context.

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