Date: Mon, 3 Nov 2003 10:59:29 +0000 From: Bruce M Simpson <bms@spc.org> To: Gerald Heinig <gheinig@syskonnect.de> Cc: hackers@freebsd.org Subject: Re: kernel malloc usage Message-ID: <20031103105929.GB17479@saboteur.dek.spc.org> In-Reply-To: <3FA6253E.9D727094@syskonnect.de> References: <3FA6253E.9D727094@syskonnect.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 03, 2003 at 10:51:58AM +0100, Gerald Heinig wrote: > Is this true? I seem to remember that FreeBSD has a slab allocator, > which IIRC is particularly good at allocating small chunks. You don't specify which version of the kernel you're programming to; so I'll assume 5.x. If your allocations are of similar size, then consider using the zone allocator; I believe this implements a slab-like algorithm. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031103105929.GB17479>