git: 03d6764b384e - main - ddb: don't limit pindex output in 'show vmopag'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Nov 2022 18:26:28 UTC
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=03d6764b384e64c0e812c1a1b9b19c0e0d45cde2 commit 03d6764b384e64c0e812c1a1b9b19c0e0d45cde2 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2022-11-11 18:23:11 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2022-11-11 18:25:39 +0000 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) {