bduncan@apple.com wrote:
On Sep 22, 2009, at 1:02 PM, Quanah Gibson-Mount wrote:
--On Tuesday, September 22, 2009 7:23 PM +0000 bduncan@apple.com wrote:
Subject should have been: "PATCH - Added kqueue support to slapd" to make clear this ITS tracks a patch that has been submitted.
What OS(es) has this kqueue support been tested with? For example, the last time I looked at kqueue on OSX 10.5, it was very marginal, and missing most of the important pieces, which meant it wouldn't work for OpenLDAP or Postfix, etc.
It was tested on OS X 10.6. Should work on all BSDs; nothing OSX- specific about the kqueue usage in the patch. As far as kqueue support in OS X 10.5, from what I see, most everything is there. Certainly all of the kqueue features in this patch are supported in OS X 10.5.
To expand on this: there are a lot of comments around the web that kqueue was fairly broken at least up to 10.5. E.g. this:
http://lists.schmorp.de/pipermail/libev/2008q4/000523.html
Since we also use a pipe for the wake_sds[] in our event loop, if kqueue only supports sockets, then it cannot be used reliably in slapd.