Messages in this thread | | | Date | Thu, 18 Aug 2005 04:25:52 +0200 | From | Bernardo Innocenti <> | Subject | Re: sched_yield() makes OpenLDAP slow |
| |
Joseph Fannin wrote:
> The behavior of sched_yield changed for 2.6. I suppose the man > page didn't get updated.
Now I remember reading about that on LWN or maybe KernelTraffic. Thanks!
>>I also think OpenLDAP is wrong. First, it should be calling >>pthread_yield() because slapd is a multithreading process >>and it just wants to run the other threads. See: > > Is it possible that this problem has been noticed and fixed > already?
The OpenLDAP 2.3.5 source still looks like this. I've filed a report in OpenLDAP's issue tracker:
http://www.openldap.org/its/index.cgi/Incoming?id=3950;page=2
-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |