The branch stable/13 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=94522091546658722a943ed484089b7d96b00f90

commit 94522091546658722a943ed484089b7d96b00f90
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-08-01 13:38:17 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-08-23 23:21:14 +0000

    amd64 pmap_vm_page_alloc_check(): print more data for failed assert
    
    (cherry picked from commit 1a55a3a729cd4424e17308d3e86b54b9a6e68f7b)
---
 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 fed65f6aa728..3228494a2aaa 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -450,7 +450,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;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to