Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2020 10:04:12 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Valerio Besozzi <v.besozzi@studenti.unipi.it>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Jemalloc and FreeBSD question
Message-ID:  <9c2403f9-881d-8636-4714-5aefb56f2234@nomadlogic.org>
In-Reply-To: <DB6PR0701MB2742C279BC348AFD90D20E16A6CE0@DB6PR0701MB2742.eurprd07.prod.outlook.com>
References:  <DB6PR0701MB2742C279BC348AFD90D20E16A6CE0@DB6PR0701MB2742.eurprd07.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 12/7/20 3:49 AM, Valerio Besozzi wrote:
> Hi,
> I'm writing my CS thesis about various memory allocator. I found various resources about jemalloc but I think some of these are old. I wanted to kindly ask if you could give me some information regarding malloc()/free()/realloc().
> I already contacted the developers on the official gitter and they provided me useful resources but I was wondering since this allocator is also used on FreeBSD (since this is practically where it was born), if someone more experienced than me could give me some explanations regarding the implementation of these functions.
> Also, any anecdotes about the history of this allocator and FreeBSD would be greatly appreciated.

I am sure the are other places to look but this is pretty much *the* 
resource I use when I need to understand how FreeBSD is implemented:
https://www.oreilly.com/library/view/the-design-and/9780133761825/

While I may not dive into jemalloc vs other alocators it does cover all 
the internals of FreeBSD in very well written prose.

-pete

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c2403f9-881d-8636-4714-5aefb56f2234>