From 03d6764b384e64c0e812c1a1b9b19c0e0d45cde2 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Fri, 11 Nov 2022 14:23:11 -0400 Subject: [PATCH] ddb: don't limit pindex output in 'show vmopag' This command already prints a tremendous amount of output, and properly obeys the pager. It no longer makes sense to arbitrarily limit the pages that are printed, as the reader will not be aware that this has happened. Reviewed by: markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D37361 --- sys/vm/vm_object.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 06e463f3f753..afe1dcb8c25a 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -2821,8 +2821,6 @@ DB_SHOW_COMMAND_FLAGS(vmopag, vm_object_print_pages, DB_CMD_MEMSAFE) fidx = 0; pa = -1; TAILQ_FOREACH(m, &object->memq, listq) { - if (m->pindex > 128) - break; if ((prev_m = TAILQ_PREV(m, pglist, listq)) != NULL && prev_m->pindex + 1 != m->pindex) { if (rcount) {