:: Re: [DNG] Memory management strateg…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: KatolaZ
Fecha:  
A: Rainer Weikusat
Cc: dng
Asunto: Re: [DNG] Memory management strategies.
On Mon, Feb 01, 2016 at 04:59:37PM +0000, Rainer Weikusat wrote:

[cut]

>
> The original slab allocator was implemented by Jeff Bonwick for the
> SunOS kernel (5, not 4) and it decidedly didn't work in this way. It
> used type-segregated, linked free lists and was based on some kind of
> underlying 'page allocator'. This can be used to limit internal
> fragmentation (memory lost due to bookkeeping overhead) and it's a good,
> generally scheme for dealin with many types of objects of discrete sizes
> but it's totally powerless agains external fragmention, ie, memory
> consumed by inactive objects of a certain kind which can't be reused
> because the inactive objects are interspersed with active ones.


Then I was simply mistaken :) Thanks Rainer for pointing that out.

Best

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]