Honor db_pager_quit in some vm_object ddb commands

These can be rather verbose.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Eric van Gyzen 2020-06-12 21:53:08 +00:00
parent 66d8bce379
commit 8cc8c5864a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362126

View File

@ -2694,6 +2694,8 @@ DB_SHOW_COMMAND(vmochk, vm_object_check)
(void *)object->backing_object);
}
}
if (db_pager_quit)
return;
}
}
@ -2744,6 +2746,9 @@ DB_SHOW_COMMAND(object, vm_object_print_static)
db_printf("(off=0x%jx,page=0x%jx)",
(uintmax_t)p->pindex, (uintmax_t)VM_PAGE_TO_PHYS(p));
if (db_pager_quit)
break;
}
if (count != 0)
db_printf("\n");