Date: Wed, 22 Jun 2005 18:37:08 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 78819 for review Message-ID: <200506221837.j5MIb8hP062443@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78819 Change 78819 by peter@peter_overcee on 2005/06/22 18:36:07 There is a MAXDUMPPGS param.h setting, use that. Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/dump_machdep.c#13 edit Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/dump_machdep.c#13 (text+ko) ==== @@ -180,8 +180,8 @@ printf(" chunk %d: %ld pages ", seqnr, (long)pgs); while (pgs) { - sz = (pgs > (DFLTPHYS >> PAGE_SHIFT)) - ? DFLTPHYS : pgs << PAGE_SHIFT; + sz = (pgs > MAXDUMPPGS) ? + MAXDUMPPGS << PAGE_SHIFT : pgs << PAGE_SHIFT; counter += sz; if (counter >> 24) { printf("%c\b", "|/-\\"[twiddle++ & 3]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506221837.j5MIb8hP062443>