From 9667351422dec0ca40a784a08dec7ce128482aba Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 10 Jul 2013 23:39:29 +0200 Subject: IRC. --- microkernel/mach/gnumach/memory_management.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'microkernel/mach/gnumach') diff --git a/microkernel/mach/gnumach/memory_management.mdwn b/microkernel/mach/gnumach/memory_management.mdwn index 4e237269..477f0a18 100644 --- a/microkernel/mach/gnumach/memory_management.mdwn +++ b/microkernel/mach/gnumach/memory_management.mdwn @@ -188,3 +188,18 @@ License|/fdl]]."]]"""]] patch (more kernel memory, thus more physical memory - up to 1.8 GiB - but then, less user memory) + + +# IRC, freenode, #hurd, 2013-06-06 + + braunr: quick question, what memory allocation algorithms + does the Mach use? I know it uses slab allocation, so I can guess buddy + allocators too? + no + slab allocator for kernel memory (allocation of buffers used by + the kernel itself) + a simple freelist for physical pages + and a custom allocator based on a red-black tree, a linked list + and a hint for virtual memory + (which is practically the same in all BSD variants) + and linux does something very close too -- cgit v1.2.3