git: 478098563e21 - stable/15 - vm_fault_trap(): fix comments grammar
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Dec 2025 00:42:13 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=478098563e21e9fb0a34c68fbc7c7fe323d90cc6
commit 478098563e21e9fb0a34c68fbc7c7fe323d90cc6
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-12-21 21:21:03 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-12-24 00:33:00 +0000
vm_fault_trap(): fix comments grammar
(cherry picked from commit 95788a851deb33242c18beb47f8a79eec320dfa5)
---
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