Re: aio poll, io_pgetevents and a new in-kernel poll API V3

From: Christoph Hellwig
Date: Thu Jan 18 2018 - 13:53:24 EST


On Thu, Jan 18, 2018 at 12:55:47PM -0500, Colin Walters wrote:
>
> FWIW: https://git.gnome.org/browse/glib/commit/?id=3904c8761a60dbadbdfaf98fe23ff19cbdcc4a9a
>
> Since that a lot of userspace (including NetworkManager) uses eventfd. I haven't
> tried this patchset myself but I'd look at what the GLib mainloop is doing.

eventfd really isn't the interesting piece, the interesting piece
is epoll, especially if used in level triggered mode.