lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060728052312.GB11210@2ka.mipt.ru>
Date:	Fri, 28 Jul 2006 09:23:12 +0400
From:	Evgeniy Polyakov <johnpol@....mipt.ru>
To:	Zach Brown <zach.brown@...cle.com>
Cc:	David Miller <davem@...emloft.net>, linux-kernel@...r.kernel.org,
	netdev@...r.kernel.org
Subject: Re: [RFC 1/4] kevent: core files.

On Thu, Jul 27, 2006 at 02:32:05PM -0700, Zach Brown (zach.brown@...cle.com) wrote:
> 
> >> 	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.)

I completely agree that existing kevent interface is not the best, so
I'm opened for any suggestions.
Should kevent creation/removing/modification be separated too?

> > 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.

And why do we want this?
How glibc is supposed to determine, that some events already fired and
such requests will return immediately, or for example how timer events
will be managed?

> > I especially like idea about world happinness in a week or so :)
> 
> A few weeks! :)

No matter after couple of millions of years of human evolution :)

> - z

-- 
	Evgeniy Polyakov
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ