vm: print log messages during initialisation
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <socks/queue.h>
|
||||
#include <socks/types.h>
|
||||
#include <socks/vm.h>
|
||||
#include <socks/printk.h>
|
||||
#include <socks/libc/string.h>
|
||||
|
||||
static vm_page_t *group_pages_into_block(vm_zone_t *z, phys_addr_t base, phys_addr_t limit, int order)
|
||||
@@ -114,6 +115,7 @@ void vm_zone_init(vm_zone_t *z, const vm_zone_descriptor_t *zone_info)
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore(&z->z_lock, flags);
|
||||
printk("vm: zone %s on node %u online.", z->z_info.zd_name, z->z_info.zd_node);
|
||||
}
|
||||
|
||||
static int replenish_free_page_list(vm_zone_t *z, vm_page_order_t order)
|
||||
|
||||
Reference in New Issue
Block a user