Re: [PATCHv2 1/3] eventfd: allow atomic read and waitqueue remove
From: Avi Kivity
Date: Thu Jan 21 2010 - 12:47:55 EST
On 01/21/2010 07:32 PM, Michael S. Tsirkin wrote:
Can't you read from the file?
IMO no, the read could block.
But you're in process context. An eventfd never blocks.
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/