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:
parent
66d8bce379
commit
8cc8c5864a
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user