The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1a55a3a729cd4424e17308d3e86b54b9a6e68f7b

commit 1a55a3a729cd4424e17308d3e86b54b9a6e68f7b
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2021-08-01 13:38:17 +0000
Commit:     Konstantin Belousov <k...@freebsd.org>
CommitDate: 2021-08-01 13:42:02 +0000

    amd64 pmap_vm_page_alloc_check(): print more data for failed assert
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/amd64/include/pmap.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 401eae0044f9..518dc544ac0d 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -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;
 
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to