git: 25ba3149917a - stable/13 - ddb: don't limit pindex output in 'show vmopag'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Nov 2022 17:10:38 UTC
The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=25ba3149917aa54889750044bde1047b6fd57fd9 commit 25ba3149917aa54889750044bde1047b6fd57fd9 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2022-11-11 18:23:11 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2022-11-14 17:04:12 +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 (cherry picked from commit 03d6764b384e64c0e812c1a1b9b19c0e0d45cde2) --- 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 4272a734b233..2a0c30e68a8b 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -2866,8 +2866,6 @@ DB_SHOW_COMMAND(vmopag, vm_object_print_pages) 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) {