aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-12-21 21:21:03 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-12-21 22:05:14 +0000
commit95788a851deb33242c18beb47f8a79eec320dfa5 (patch)
treec1c2761efe44de27aaa65e219c5fc77d3262345d
parent823ebd7c4f897b1c620b6f21a68221da1cef7449 (diff)
-rw-r--r--sys/vm/vm_fault.c12
1 files 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