select call in devd

Conrad Meyer cem at freebsd.org
Wed Feb 14 08:13:23 UTC 2018


On Tue, Feb 13, 2018 at 11:56 PM, Gleb Popov <6yearold at 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.


More information about the freebsd-hackers mailing list