Introduction to Talloc

Talloc provides a hierarchical, reference counted memory pool system with destructors. It is the core memory allocator used in Samba.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

Talloc Dependencies


docbook-xml-4.5, docbook-xsl-nons-1.79.2 and libxslt-1.1.37 (To generate man pages), GDB-12.1, git-2.39.1, libnsl-2.0.0, libtirpc-1.3.3, Valgrind-3.20.0, and xfsprogs-6.1.1

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/talloc

Installation of Talloc

Install Talloc by running the following commands:

./configure --prefix=/usr &&

To check the results, issue make check.

Now, as the root user:

make install


Installed Programs: None
Installed Libraries: libpytalloc-util.cpython-311-<arch>-linux-gnu.so, libtalloc.so, and talloc.cpython-311-<arch>-linux-gnu.so (Python-3 Module)
Installed Directories: None

Short Descriptions


contains a replacement for the Glibc malloc function