lkml.org 
[lkml]   [2007]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...


On Sun, 1 Apr 2007, Davide Libenzi wrote:
>
> > [also, minor nit: sys_eventfd() can legitimately return 0, but you're banning
> > its use in aio. userspace could easily dup() and close(), but...]
>
> Noone said that binary compatibility comes free ;)
> I'm truly open to other ways of integration, but I thought that binary
> compatibility is the key here.

I would suggest taking "aio_reserved3" and turning it into

__u32 aio_flags;
__u32 aio_resfd;

if so. And then some bit in the "flags" field has to be set (say,
"IOCB_FLAG_RESFB") to enable this codepath, instead of expecting that
aio_resfd == 0 is special.

It's generally always a good thing to have a "flags" field anyway, exactly
because it allows for future expansion.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-01 19:27    [W:0.058 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site