[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: [patch] libc/resolv: use poll() instead of kqueue()
From:       John Baldwin <jhb () freebsd ! org>
Date:       2014-01-13 19:19:45
Message-ID: 201401131419.45188.jhb () freebsd ! org
[Download RAW message or body]

On Wednesday, January 08, 2014 5:59:52 pm Jilles Tjoelker wrote:
> The resolver in libc creates a kqueue for watching a single file
> descriptor. This can be done using poll() which should be lighter on the
> kernel and reduce possible problems with rlimits (file descriptors,
> kqueues).

I agree that a kqueue for a single fd is a bit silly in terms of overhead 
compared to just calling poll.

-- 
John Baldwin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic