Re: [PATCH 0/2] eventfd: new EFD_STATE flag

From: Avi Kivity
Date: Thu Aug 27 2009 - 00:13:16 EST


On 08/27/2009 02:30 AM, Davide Libenzi wrote:
On Wed, 26 Aug 2009, Davide Libenzi wrote:

I see no kernel equivalent to read(), but that's easily done.
Adding an in-kernel read based on "ctx", that is no problem at all.
Something like the untested below.
I had thought you said the eventfd readers where in userspace, but I might
have misunderstood you.

No, they're all over the place.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/