summaryrefslogtreecommitdiff
path: root/kern/kmem.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-12-01 15:44:24 +0100
committerRichard Braun <rbraun@sceen.net>2012-12-01 15:44:24 +0100
commitcf06fbde7911c5380d9f145f55168cddb4f01bd4 (patch)
tree8364771a4b3b326f97b4de93eef778557ec775ec /kern/kmem.h
parent7639d05dcb960c91ba0bd18daa55b4deb30e8b52 (diff)
kern/kmem: merge kmem_bootstrap into kmem_setup
Diffstat (limited to 'kern/kmem.h')
-rw-r--r--kern/kmem.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/kern/kmem.h b/kern/kmem.h
index 169497c2..98306fae 100644
--- a/kern/kmem.h
+++ b/kern/kmem.h
@@ -273,14 +273,11 @@ void kmem_cache_free(struct kmem_cache *cache, void *obj);
void kmem_cache_info(struct kmem_cache *cache);
/*
- * Early initialization of the kernel memory allocator.
- *
- * Once this function returns, caches can be initialized.
- */
-void kmem_bootstrap(void);
-
-/*
* Set up the kernel memory allocator module.
+ *
+ * This function should only be called by the VM system. Once it returns,
+ * caches can be initialized, but those using the default backend can only
+ * operate once the VM system is sufficiently ready.
*/
void kmem_setup(void);