Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm actually show the start/end that failed start < end ...



details:   https://anonhg.NetBSD.org/src/rev/b5f2cc64deb7
branches:  trunk
changeset: 1011824:b5f2cc64deb7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 13 05:52:50 2020 +0000

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

diffstat:

 sys/uvm/uvm_physseg.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 42dbfbf7485c -r b5f2cc64deb7 sys/uvm/uvm_physseg.c
--- a/sys/uvm/uvm_physseg.c     Mon Jul 13 05:43:38 2020 +0000
+++ b/sys/uvm/uvm_physseg.c     Mon Jul 13 05:52:50 2020 +0000
@@ -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 @@
        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.");



Home | Main Index | Thread Index | Old Index