Re: [CFR] reflect resolv.conf update to running application
From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 08/21/05
- Previous message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Aug 2005 12:54:12 +0200 To: Hajimu UMEMOTO <ume@freebsd.org>
On Sun, 21 Aug 2005 19:27:07 +0900
Hajimu UMEMOTO <ume@freebsd.org> wrote:
> Hi,
>
> >>>>> On Sun, 21 Aug 2005 11:54:54 +0200
> >>>>> Alexander Leidinger <Alexander@Leidinger.net> said:
>
> Alexander> Can kqueue be used instead of polling?
>
> It may be able to use kqueue. However, I'm not sure how kevent() is
> cheap than stat(). It requires holding a file descriptor for
From a high level perspective (I don't know the code), kevent() only
has to lookup an event in a queue (if the file hasn't changed, which is
the typical case), while stat() has to go through the VFS subsystem
until it reaches the cache (or the disk).
Bye,
Alexander.
-- http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|