Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2025 22:05:45 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 95788a851deb - main - vm_fault_trap(): fix comments grammar
Message-ID:  <69486f39.4533b.4f09537@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=95788a851deb33242c18beb47f8a79eec320dfa5

commit 95788a851deb33242c18beb47f8a79eec320dfa5
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-12-21 21:21:03 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-12-21 22:05:14 +0000

    vm_fault_trap(): fix comments grammar
    
    Submitted and reviewed by:      alc
    Fixes:  22cce201da76a1916be5c993201f0478f3048292
    MFC after:      3 days
    Differential revision:  https://reviews.freebsd.org/D54335
---
 sys/vm/vm_fault.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index f7318f96f709..1f13869aebf1 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -714,10 +714,10 @@ _Static_assert(UCODE_PAGEFLT == T_PAGEFLT, "T_PAGEFLT");
 /*
  * vm_fault_trap:
  *
- * Helper for the page fault trap handlers, wrapping vm_fault().
- * Issues ktrace(2) tracepoints for the faults.
+ * Helper for the machine-dependent page fault trap handlers, wrapping
+ * vm_fault().  Issues ktrace(2) tracepoints for the faults.
  *
- * If a fault cannot be handled successfully by satisfying the
+ * If the fault cannot be handled successfully by updating the
  * required mapping, and the faulted instruction cannot be restarted,
  * the signal number and si_code values are returned for trapsignal()
  * to deliver.
@@ -1657,10 +1657,10 @@ vm_fault_object(struct faultstate *fs, int *behindp, int *aheadp)
  * The given address should be truncated to the proper page address.
  *
  * KERN_SUCCESS is returned if the page fault is handled; otherwise, a
- * Mach error specifying why the fault is fatal is returned.
+ * Mach error code explaining why the fault is fatal is returned.
  *
- * The map in question must be alive, either being the map for current
- * process, or the owner process hold count incremented to prevent
+ * The map in question must be alive, either being the map for the current
+ * process, or the owner process hold count has been incremented to prevent
  * exit().
  *
  * If the thread private TDP_NOFAULTING flag is set, any fault results


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69486f39.4533b.4f09537>