Re: [patch] eventfd - remove fput() call from possible IRQ context(2nd rev)

From: Davide Libenzi
Date: Mon Mar 16 2009 - 14:37:16 EST


On Mon, 16 Mar 2009, Jamie Lokier wrote:

> Davide Libenzi wrote:
> > + if (unlikely(req->ki_eventfd != NULL)) {
>
> Is this really unlikely? Having an eventfd seems to be the modern,
> cool, recommended way to do AIO.

I don't have statistics at hand, but I guess that nowadays AIO+eventfd is
still not very popular. It doesn't make much of a difference either ways I
guess, so we could drop the unlikely().



- Davide


--
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/