vm: print log messages during initialisation
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <limits.h>
|
||||
#include <socks/vm.h>
|
||||
#include <socks/memblock.h>
|
||||
#include <socks/printk.h>
|
||||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
@@ -15,6 +16,7 @@ kern_status_t vm_bootstrap(const vm_zone_descriptor_t *zones, size_t nr_zones)
|
||||
|
||||
/* we're only worrying about UMA systems for now */
|
||||
node_data = memblock_alloc(sizeof(vm_pg_data_t) * numa_count, 8);
|
||||
printk("vm: initialising %u node%s", numa_count, numa_count > 1 ? "s" : "");
|
||||
|
||||
vm_page_init_array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user