[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] eventfd - revised interface and cleanups (2nd rev)
On Tue, 23 Jun 2009 12:25:36 -0700 (PDT)
Davide Libenzi <> wrote:

> Another cleanup this patch does, is making AIO select EVENTFD, instead of
> adding a bunch of empty function stubs inside eventfd.h in order to
> handle the (AIO && !EVENTFD) case.

Given that we're trying to squeak this patch into 2.6.31, it's quite
unfortunate to include unrelated changes. Especially ones which
involve the always-problematic "select". Although this one looks less
than usually deadly due to the simple dependencies of AIO and eventfd.


Is this a good way of fixing the (AIO && !EVENTFD) case? Surely if the
developer selected this combination, he doesn't want to carry the
overhead of including eventfd. IOW, if AIO can work acceptably without
eventfd being compiled into the kernel then adding the stubs is a
superior solution.

 \ /
  Last update: 2009-06-23 22:15    [W:0.091 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site