Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2022-11-11 21:23:11 +0300
committerMitchell Horne <mhorne@FreeBSD.org>2022-11-11 21:25:39 +0300
commit03d6764b384e64c0e812c1a1b9b19c0e0d45cde2 (patch)
tree07445ca430dff2577eb9c516b0c5b078d4fd15cf
parent831979ae0fb91a2ff674b7b1ab7d2c252a17e27d (diff)
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
-rw-r--r--sys/vm/vm_object.c2
1 files changed, 0 insertions, 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) {