Index: kernel/generic/src/main/kinit.c
===================================================================
--- kernel/generic/src/main/kinit.c	(revision 88dea9d01a9bc5e8482c1ceafa6e6531ac50cb4f)
+++ kernel/generic/src/main/kinit.c	(revision 9dae191e774f517d5430fc726e4aef5787b1fcd0)
@@ -67,5 +67,5 @@
 #include <debug.h>
 #include <str.h>
-#include <ps/load.h>
+#include <sysinfo/stats.h>
 
 #ifdef CONFIG_SMP
@@ -123,4 +123,5 @@
 		} else
 			panic("Unable to create kmp thread.");
+		
 		thread_join(thread);
 		thread_detach(thread);
@@ -151,4 +152,11 @@
 	arch_post_smp_init();
 	
+	/* Start thread computing system load */
+	thread = thread_create(kload, NULL, TASK, 0, "kload", false);
+	if (thread != NULL)
+		thread_ready(thread);
+	else
+		printf("Unable to create kload thread\n");
+	
 #ifdef CONFIG_KCONSOLE
 	if (stdin) {
@@ -164,11 +172,4 @@
 #endif /* CONFIG_KCONSOLE */
 	
-	/* Start thread computing system load */
-	thread = thread_create(kload_thread, NULL, TASK, 0, "kload", false);
-	if (thread != NULL)
-		thread_ready(thread);
-	else
-		printf("Unable to create kload thread\n");
-
 	interrupts_enable();
 	
Index: kernel/generic/src/main/main.c
===================================================================
--- kernel/generic/src/main/main.c	(revision 88dea9d01a9bc5e8482c1ceafa6e6531ac50cb4f)
+++ kernel/generic/src/main/main.c	(revision 9dae191e774f517d5430fc726e4aef5787b1fcd0)
@@ -85,4 +85,5 @@
 #include <ipc/event.h>
 #include <sysinfo/sysinfo.h>
+#include <sysinfo/stats.h>
 
 /** Global configuration structure. */
@@ -225,5 +226,5 @@
 	
 	printf("Detected %" PRIs " CPU(s), %" PRIu64" MiB free memory\n",
-	    config.cpu_count, SIZE2MB(zone_total_size()));
+	    config.cpu_count, SIZE2MB(zones_total_size()));
 
 	LOG_EXEC(cpu_init());
@@ -249,4 +250,5 @@
 	LOG_EXEC(event_init());
 	LOG_EXEC(klog_init());
+	LOG_EXEC(stats_init());
 	
 	/*
