[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B589532.9070408@redhat.com>
Date: Thu, 21 Jan 2010 19:56:02 +0200
From: Avi Kivity <avi@...hat.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
CC: Davide Libenzi <davidel@...ilserver.org>, mtosatti@...hat.com,
kvm@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv2 1/3] eventfd: allow atomic read and waitqueue remove
On 01/21/2010 07:45 PM, Michael S. Tsirkin wrote:
>
>> But you're in process context. An eventfd never blocks.
>>
> Yes it blocks if counter is 0. And we don't know
> it's not 0 unless we read :) catch-22.
>
Ah yes, I forgot.
--
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists