Date: Wed, 14 Feb 2018 00:06:51 -0800 From: Conrad Meyer <cem@freebsd.org> To: Gleb Popov <6yearold@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: select call in devd Message-ID: <CAG6CVpUD6vBQqCh3dw9mqo%2BCp-pEJGNmsFj1CgfZU_4j63NrBg@mail.gmail.com> In-Reply-To: <CALH631nKSO-D%2Bo8xjZZk%2BUE9SywqPJCC6PAjg5ua-7BmboMw3A@mail.gmail.com> References: <CAF6rxgmrkUS18kVPCK1VkBJAhBQ2vY3_MJgq%2BXNjqcx8yFi7Lw@mail.gmail.com> <CALH631nKSO-D%2Bo8xjZZk%2BUE9SywqPJCC6PAjg5ua-7BmboMw3A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 13, 2018 at 11:56 PM, Gleb Popov <6yearold@gmail.com> wrote: > Haven't looked at code at all, but why is it using select and not > kqueue/kevent? Because select/poll are a lot easier to use for one-off monitoring of a single descriptor, and devd isn't trying to scale to 10k descriptors here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUD6vBQqCh3dw9mqo%2BCp-pEJGNmsFj1CgfZU_4j63NrBg>