[PATCH] Remove all uses of talloc_autofree_context() from our code (except for test)

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jul 26 06:41:14 UTC 2017

On Tue, Jul 25, 2017 at 01:47:20PM -0700, Jeremy Allison wrote:
> Thinking about it some more, you're actually correct about
> this improving the libsmbclient libs without the null tracking
> removal change - the gnome VFS programs that use libsmbclient
> don't turn on null tracking. So I may have more room to experiment
> there..

libsmbclient depends on so much stuff that I believe this is hopeless.
For libsmbclient I believe that we need to have a separate compatible
ABI layer that is thread-safe but feeds the requests into our code
under a mutex. Much like source3/libsmb/pylibsmb.c does it.  From
there we can then add parallelism. Like the Linux kernel did ages ago
with its BKL removal efforts.


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