amd64 pmap_vm_page_alloc_check(): print more data for failed assert

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov
2021-08-01 16:38:17 +03:00
parent 5b42b494d5
commit 1a55a3a729
+2 -1
View File
@@ -458,7 +458,8 @@ extern int invpcid_works;
#define pmap_vm_page_alloc_check(m) \
KASSERT(m->phys_addr < kernphys || m->phys_addr >= KERNend, \
("allocating kernel page %p", m));
("allocating kernel page %p pa %#lx kernphys %#lx kernend %#lx", \
m, m->phys_addr, kernphys, KERNend));
struct thread;