From nobody Thu Mar 09 16:16:37 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PXZ7V18x6z3x5b9; Thu, 9 Mar 2023 16:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PXZ7V0R8fz44ql; Thu, 9 Mar 2023 16:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678378598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=atTI2OCYT8OF3p3jlvdHVzRflAyYil8gL+KprRgRUo0=; b=yMm5Lu8VOZHAU1PDQJ/Rp5wqb+eHI2gNtFV5ZrhaMrvPa0RtHL1UQtuP/ArxnISu/uylHI E4XWgElwHdRKSeb7H+fxIL6RSjEOnCzRsVsgc7Exwg4f0W8EJVuETfrUPWKa8tCnAMNIUO TPamj8suZ3bs4d7UybSsnpDC8udb4tjKxqE2fnOx5853duYZLlSllO6nV8cJXztYzTT0yo 07rUyunwpUIo2mQIe1lk1UF2viJhoO1Eq5DDTEQGqPoTyZg8r3k1vBnBk/mfU9wx55YM/X q0VX/lKyaYD5C7Alpeq79lydjxAGxfFQoOVnf5LucvPPmtmy4Jeo0u6vJDhhqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678378598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=atTI2OCYT8OF3p3jlvdHVzRflAyYil8gL+KprRgRUo0=; b=DPqJ8imrKvUVeBAsWPDh48wbT++xZcJJq/ncCvMHjNJuL4ka1+vcz+xhR9dx6zN2rSTk2h Pg9izuBVy/WoUzBp9ZbnoBXQ10uX6vHiMYKl24vGn5hq64fLe/SztN+PfXKXkzf2TE0QPX hBegQ7mNQjKBnJe5cuR9HGKluxsJboOQnKjtsVFnBPzytsTQmk3VoTZ3eVQcW9JBaFf252 S30i0mHnI6AfolleLJGGBN9MjCYwEIQEvl1YO1yDJRF3EkiQhrN0jezmk8+ujSqW+t4ASl LA5jd07WIvAGHGWrj+jND9qrKcewh1fNjHD+rnPDsvkISygLu9eHQUl46O8eFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678378598; a=rsa-sha256; cv=none; b=crufnmQOvNZfSppR6Nr9IOcC/eHvqbohuxR3PJu7Oayc5Y2NHEHnC0Sxyjxy5gBDzDYA3h VfCq34+TacPDnrvb+cap0EErg2G4NJlkJaJnUS1OlNxan1vehzSxp277x7ykJgvMV94oTR orfCur2OPllliss9jUgve4dIhZ8xBT2usziMp5X3XlFCZ3cDek6H2ug5gb2THVyt8NVdsK VfGwXL8alo7HpClT+bS8+vZdlWpzv0L/GhsQ3609o9+Kgcn2jvx9HXH5VG3KNoXeJllu/Y wE70tEqgkDRKpxr50eIYSLqjZiSlaAF2zDIBtKStjVYeoGgFgVconCzI70KNVg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PXZ7T6c5PzDtT; Thu, 9 Mar 2023 16:16:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 329GGblp098079; Thu, 9 Mar 2023 16:16:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 329GGbQ7098078; Thu, 9 Mar 2023 16:16:37 GMT (envelope-from git) Date: Thu, 9 Mar 2023 16:16:37 GMT Message-Id: <202303091616.329GGbQ7098078@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: e08302f6499e - main - vm_fault: Update a comment to reflect the removal of the default pager List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e08302f6499e599b1d5db8bb266e2b8e4aa6b62e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=e08302f6499e599b1d5db8bb266e2b8e4aa6b62e commit e08302f6499e599b1d5db8bb266e2b8e4aa6b62e Author: Mark Johnston AuthorDate: 2023-03-09 16:15:49 +0000 Commit: Mark Johnston CommitDate: 2023-03-09 16:15:49 +0000 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 87c15e972279..336cee7ca972 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)) { /*