From e08302f6499e599b1d5db8bb266e2b8e4aa6b62e Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 9 Mar 2023 11:15:49 -0500 Subject: [PATCH] vm_fault: Update a comment to reflect the removal of the default pager Fixes: 5d32157d4e5c ("vm_object: Modify vm_object_allocate_anon() to return OBJT_SWAP objects") Reviewed by: alc, kib Differential Revision: https://reviews.freebsd.org/D38985 --- sys/vm/vm_fault.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 87c15e97227..336cee7ca97 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -1431,10 +1431,9 @@ vm_fault_object(struct faultstate *fs, int *behindp, int *aheadp) } /* - * Default objects have no pager so no exclusive busy exists - * to protect this page in the chain. Skip to the next - * object without dropping the lock to preserve atomicity of - * shadow faults. + * Check to see if the pager can possibly satisfy this fault. + * If not, skip to the next object without dropping the lock to + * preserve atomicity of shadow faults. */ if (fault_object_needs_getpages(fs->object)) { /*