Re: [patch] eventfd - revised interface and cleanups
From: Davide Libenzi
Date: Tue Jun 23 2009 - 13:10:32 EST
On Tue, 23 Jun 2009, Avi Kivity wrote:
> On 06/23/2009 07:47 PM, Davide Libenzi wrote:
> > The following patch changes the eventfd interface to de-couple the eventfd
> > memory context, from the file pointer instance.
> > Without such change, there is no clean way to racely free handle the
> > POLLHUP event sent when the last instance of the file* goes away.
> > Also, now the internal eventfd APIs are using the eventfd context instead
> > of the file*.
> > Another cleanup this patch does, is making AIO select EVENTFD, instead of
> > adding a bunch of empty function stubs inside eventfd.h.
> > Andrew, this better go via Avi and the KVM tree, since they have patches
> > that will be based on the new interface.
> The kvm patches will only be ready for 2.6.32. Can this go in 2.6.31 now, and
> we'll meet in 10 weeks?
Either ways works for me.
Meanwhile, I'll repost with the revised documentation format.
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/