From 5704a46a7105b5803b58ab39610b0428312abf05 Mon Sep 17 00:00:00 2001 From: uwe Date: Thu, 26 Oct 2006 20:00:52 +0000 Subject: [PATCH] uvm_page_printall: With new PQ_* flags pg->pqflags no longer fits and makes the output of "show all pages" ragged. Widen the field to 4 chars. --- sys/uvm/uvm_map.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 99369537b18a..50b66d628c27 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.230 2006/10/12 01:32:52 christos Exp $ */ +/* $NetBSD: uvm_map.c,v 1.231 2006/10/26 20:00:52 uwe Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -71,7 +71,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.230 2006/10/12 01:32:52 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.231 2006/10/26 20:00:52 uwe Exp $"); #include "opt_ddb.h" #include "opt_uvmhist.h" @@ -4803,14 +4803,14 @@ uvm_page_printall(void (*pr)(const char *, ...)) unsigned i; struct vm_page *pg; - (*pr)("%18s %4s %2s %18s %18s" + (*pr)("%18s %4s %4s %18s %18s" #ifdef UVM_PAGE_TRKOWN " OWNER" #endif "\n", "PAGE", "FLAG", "PQ", "UOBJECT", "UANON"); for (i = 0; i < vm_nphysseg; i++) { for (pg = vm_physmem[i].pgs; pg <= vm_physmem[i].lastpg; pg++) { - (*pr)("%18p %04x %02x %18p %18p", + (*pr)("%18p %04x %04x %18p %18p", pg, pg->flags, pg->pqflags, pg->uobject, pg->uanon); #ifdef UVM_PAGE_TRKOWN