PERFORCE change 78819 for review
Peter Wemm
peter at FreeBSD.org
Wed Jun 22 18:37:09 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=78819
Change 78819 by peter at 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]);
More information about the p4-projects
mailing list