You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemtap and callgrind analysis show a lot of time spent in this code in both thread contention and malloc/free - we need to find a less malloc/free and lock/mutex intensive way to determine if the DN RDN attribute has DN syntax
The text was updated successfully, but these errors were encountered:
The locking problem should be resolved by ticket 504.505.
The malloc/free could be avoided by replacing slapi_attr_init/done by a call to attrsyntax_get_by_name() since the attr is not needed. It could be done in a function is_dn_syntax(attrtypename).
When you add an new slapi-plugin api, could you add the description, as well in slapi-plugin.h? Something like this?
/**
* Adds a value to an attribute.
*
* \param a The attribute that will contain the values.
* \param v Value to be added to the attribute.
* \return Always returns 0.
* \see slapi_attr_first_value()
* \see slapi_attr_next_value()
* \see slapi_attr_get_numvalues()
* \see slapi_attr_value_cmp()
* \see slapi_attr_value_find()
*/
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/510
systemtap and callgrind analysis show a lot of time spent in this code in both thread contention and malloc/free - we need to find a less malloc/free and lock/mutex intensive way to determine if the DN RDN attribute has DN syntax
The text was updated successfully, but these errors were encountered: