NetBSD-Bugs archive

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

Re: port-amd64/51944 (sparse core dumps do not work)



Synopsis: sparse core dumps do not work

Responsible-Changed-From-To: port-amd64-maintainer->maya
Responsible-Changed-By: maya%NetBSD.org@localhost
Responsible-Changed-When: Sat, 04 Feb 2017 18:39:44 +0000
Responsible-Changed-Why:

--- amd64/machdep.c	26 Dec 2016 17:54:06 -0000	1.246
+++ amd64/machdep.c	4 Feb 2017 17:58:52 -0000
@@ -815,7 +815,7 @@ sparse_dump_mark(void)
 		 * We assume that seg->start to seg->end are
 		 * uvm_page_physload()ed
 		 */
-		for (pfn = startpfn; pfn <= endpfn; pfn++) {
+		for (pfn = startpfn; pfn < endpfn; pfn++) {
 			pg = PHYS_TO_VM_PAGE(ptoa(pfn));
 			if (pg->uanon || (pg->pqflags & PQ_FREE) ||
 			    (pg->uobject && pg->uobject->pgops)) {







Home | Main Index | Thread Index | Old Index