7e1d80f Ticket 51131 - improve mutex alloc in conntable

1 file Authored by firstyear 3 years ago, Committed by firstyear 3 years ago,
    Ticket 51131 - improve mutex alloc in conntable
    
    Bug Description: We previously did delayed allocation
    of mutexs, which @tbordaz noted can lead to high usage
    of the pthread mutex init routines. This was done under
    the conntable lock, as well as cleaning the connection
    
    Fix Description: rather than delayed allocation, we
    initialise everything at start up instead, which means
    that while startup may have a delay, at run time we have
    a smaller and lighter connection allocation routine,
    that is able to release the CT lock sooner.
    
    https://pagure.io/389-ds-base/issue/51131
    
    Author: William Brown <william@blackhats.net.au>
    
    Review by: ???
    
        
file modified
+47 -39