aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/kmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/include/kmalloc.h')
-rw-r--r--src/kernel/include/kmalloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/include/kmalloc.h b/src/kernel/include/kmalloc.h
index d4a9272..17ea440 100644
--- a/src/kernel/include/kmalloc.h
+++ b/src/kernel/include/kmalloc.h
@@ -6,6 +6,9 @@
// Kernel memory allocator : one slab allocator for shared memory
// Thread-safe.
+// The normal malloc() call will try to free some memory when OOM and will loop
+// a few times if it cannot. It may fail though.
+
void kmalloc_setup();
/* vim: set ts=4 sw=4 tw=0 noet :*/