[PATCH] Fix bug #11375 - ordering issue in teardown in server exit.

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 25 13:15:02 UTC 2015


On Wed, Nov 25, 2015 at 01:05:11PM +0100, Stefan Metzmacher wrote:
> I don't understand that code and added a linked list that
> is used for the traverse.

Alternatively -- we might think about dropping dbwrap_rbt and use internal
tdbs instead. I imported the rbt code without really knowing how expensive
malloc is. With an internal tdb we have one large memory blob with our
internal memory management, no malloc fragmentation. Larger tdbs will
return memory to the kernel when free'ed, something with won't happen
for a deleted rbt as implemented now.

Apart from that discussion: RB+

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list