Samba4: LDB size limit and memory leak
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu May 28 20:36:17 GMT 2009
On Thu, May 28, 2009 at 08:39:48PM +0300, Alexander Bokovoy wrote:
> Tridge,
>
> On Thu, May 28, 2009 at 11:02 AM, <tridge at samba.org> wrote:
> > + /* over-allocate to reduce fragmentation */
> > + length *= 1.25;
> > +
> Would you mind to make this
>
> length += length >> 2;
>
> ?
I'd say just change it if it is difficult on your platform :-)
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090528/5f4d9f18/attachment.bin
More information about the samba-technical
mailing list