Date: Fri, 12 Jun 2020 21:53:08 +0000 (UTC) From: Eric van Gyzen <vangyzen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362126 - head/sys/vm Message-ID: <202006122153.05CLr8JN091722@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vangyzen Date: Fri Jun 12 21:53:08 2020 New Revision: 362126 URL: https://svnweb.freebsd.org/changeset/base/362126 Log: Honor db_pager_quit in some vm_object ddb commands These can be rather verbose. MFC after: 2 weeks Sponsored by: Dell EMC Isilon Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c ============================================================================== --- head/sys/vm/vm_object.c Fri Jun 12 21:51:20 2020 (r362125) +++ head/sys/vm/vm_object.c Fri Jun 12 21:53:08 2020 (r362126) @@ -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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006122153.05CLr8JN091722>