Page MenuHomeFreeBSD

D33550.diff
No OneTemporary

D33550.diff

diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -2830,18 +2830,13 @@
vm_pindex_t fidx;
vm_paddr_t pa;
vm_page_t m, prev_m;
- int rcount, nl, c;
+ int rcount;
- nl = 0;
TAILQ_FOREACH(object, &vm_object_list, object_list) {
db_printf("new object: %p\n", (void *)object);
- if (nl > 18) {
- c = cngetc();
- if (c != ' ')
- return;
- nl = 0;
- }
- nl++;
+ if (db_pager_quit)
+ return;
+
rcount = 0;
fidx = 0;
pa = -1;
@@ -2853,13 +2848,8 @@
if (rcount) {
db_printf(" index(%ld)run(%d)pa(0x%lx)\n",
(long)fidx, rcount, (long)pa);
- if (nl > 18) {
- c = cngetc();
- if (c != ' ')
- return;
- nl = 0;
- }
- nl++;
+ if (db_pager_quit)
+ return;
rcount = 0;
}
}
@@ -2871,13 +2861,8 @@
if (rcount) {
db_printf(" index(%ld)run(%d)pa(0x%lx)\n",
(long)fidx, rcount, (long)pa);
- if (nl > 18) {
- c = cngetc();
- if (c != ' ')
- return;
- nl = 0;
- }
- nl++;
+ if (db_pager_quit)
+ return;
}
fidx = m->pindex;
pa = VM_PAGE_TO_PHYS(m);
@@ -2886,13 +2871,8 @@
if (rcount) {
db_printf(" index(%ld)run(%d)pa(0x%lx)\n",
(long)fidx, rcount, (long)pa);
- if (nl > 18) {
- c = cngetc();
- if (c != ' ')
- return;
- nl = 0;
- }
- nl++;
+ if (db_pager_quit)
+ return;
}
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 10:46 AM (16 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15939264
Default Alt Text
D33550.diff (1 KB)

Event Timeline