lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] eventfd - revised interface and cleanups (2nd rev)
    On Tue, 23 Jun 2009, Andrew Morton wrote:

    > On Tue, 23 Jun 2009 14:25:05 -0700 (PDT)
    > Davide Libenzi <davidel@xmailserver.org> wrote:
    >
    > > On Tue, 23 Jun 2009, Andrew Morton wrote:
    > >
    > > > That isn't for us to decide. Entire syscalls can be disabled in config.
    > >
    > > That is not a well defined separate syscall though. It's a member/feature
    > > of the aiocb.
    >
    > I don't know what this means, really.

    This is the struct iocb:

    struct iocb {
    ...
    u_int32_t aio_resfd;
    };

    And the only interface to access KAIO is io_submit().
    IMO the end user perceives the KAIO functionality as the full deployment
    of the iocb struct and the io_submit() accessory.
    Can code not using eventfd work in (AIO && !EVENTFD) mode? Sure.
    It is a kinda confusing configuration from the end user POV IMO.



    - Davide




    \
     
     \ /
      Last update: 2009-06-24 00:59    [W:0.020 / U:302.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site