Module Name:    src
Committed By:   mrg
Date:           Mon Jul 13 05:52:50 UTC 2020

Modified Files:
        src/sys/uvm: uvm_physseg.c

Log Message:
actually show the start/end that failed start < end in uvm_page_physload().


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/uvm/uvm_physseg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_physseg.c
diff -u src/sys/uvm/uvm_physseg.c:1.14 src/sys/uvm/uvm_physseg.c:1.15
--- src/sys/uvm/uvm_physseg.c:1.14	Sun Mar 15 21:06:30 2020
+++ src/sys/uvm/uvm_physseg.c	Mon Jul 13 05:52:50 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_physseg.c,v 1.14 2020/03/15 21:06:30 ad Exp $ */
+/* $NetBSD: uvm_physseg.c,v 1.15 2020/07/13 05:52:50 mrg Exp $ */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1209,7 +1209,7 @@ uvm_page_physload(paddr_t start, paddr_t
 	if (free_list >= VM_NFREELIST || free_list < VM_FREELIST_DEFAULT)
 		panic("uvm_page_physload: bad free list %d", free_list);
 	if (start >= end)
-		panic("uvm_page_physload: start >= end");
+		panic("uvm_page_physload: start[%lx] >= en[%lx]d", start, end);
 
 	if (uvm_physseg_plug(start, end - start, &upm) == false) {
 		panic("uvm_physseg_plug() failed at boot.");

Reply via email to