summaryrefslogtreecommitdiff
path: root/kern/kernel.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-08-30 02:31:07 +0200
committerRichard Braun <rbraun@sceen.net>2014-08-30 02:31:07 +0200
commitfdadd6a512f6ee913797309037c6ec96bfb635bd (patch)
tree4cb3f0f651ea2b1fdd642da7bc84e8fff629495e /kern/kernel.c
parent9743632b175f648f50d9424e04e2224e0b121aaf (diff)
kern/kernel: move call to vm_page_info()
Diffstat (limited to 'kern/kernel.c')
-rw-r--r--kern/kernel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kern/kernel.c b/kern/kernel.c
index dc64f07..e546907 100644
--- a/kern/kernel.c
+++ b/kern/kernel.c
@@ -39,6 +39,7 @@ kernel_main(void)
thread_setup();
work_setup();
llsync_setup();
+ vm_page_info();
#ifdef RUN_TEST_MODULE
test_setup();
@@ -54,13 +55,11 @@ kernel_main(void)
* synchronized requires interrupts (and potentially scheduling)
* enabled on all processors.
*
- * Anything done after this call and before running the scheduler must
- * not alter physical mappings.
+ * It is highly recommended not to do anything else than starting the
+ * scheduler right after this call.
*/
cpu_mp_setup();
- vm_page_info();
-
thread_run_scheduler();
/* Never reached */