Messages in this thread | | | Date | Mon, 16 Mar 2009 11:36:39 -0700 (PDT) | From | Davide Libenzi <> | Subject | Re: [patch] eventfd - remove fput() call from possible IRQ context (2nd rev) |
| |
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
| |