[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44C930D5.9020704@oracle.com>
Date: Thu, 27 Jul 2006 14:32:05 -0700
From: Zach Brown <zach.brown@...cle.com>
To: Evgeniy Polyakov <johnpol@....mipt.ru>
CC: David Miller <davem@...emloft.net>, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [RFC 1/4] kevent: core files.
>> int kevent_getevents(int event_fd, struct ukevent *events,
>> int min_events, int max_events,
>> struct timeval *timeout);
>
> I used only one syscall for all operations, above syscall is
> essentially what kevent_user_wait() does.
Essentially, yes, but the differences are important. It's important to
have a clear syscall interface instead of nesting through multiplexers.
And we should get the batching/latency inputs right. (I'm for both
min/max elements and arguably timeouts, but I could understand not
wanting to go *that* far.)
> Hmm, it looks like I'm lost here...
Yeah, it seems my description might not have sunk in :). We're giving
userspace a way to collect events without performing a system call.
> I especially like idea about world happinness in a week or so :)
A few weeks! :)
- z
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists