Page MenuHomeFreeBSD

vm/vm_fault.c: update and split comments for vm_fault() and vm_fault_trap()
ClosedPublic

Authored by kib on Sep 16 2025, 3:47 AM.
Tags
None
Referenced Files
F140449226: D52567.id162149.diff
Wed, Dec 24, 1:16 AM
Unknown Object (File)
Fri, Dec 5, 12:28 AM
Unknown Object (File)
Tue, Dec 2, 12:05 AM
Unknown Object (File)
Sun, Nov 30, 1:39 PM
Unknown Object (File)
Nov 23 2025, 6:07 AM
Unknown Object (File)
Nov 5 2025, 1:10 AM
Unknown Object (File)
Nov 2 2025, 7:13 AM
Unknown Object (File)
Oct 27 2025, 10:15 PM
Subscribers

Details

Reviewers
alc
markj

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Sep 16 2025, 3:47 AM
sys/vm/vm_fault.c
714
716–719

or "a fault"

1640

It's not quite true that the caller may hold no locks, e.g., in the TDP_NOFAULTING case the caller may legitimately hold them.

kib marked 3 inline comments as done.

Grammar.
Expand on TDP_NOFAULTING vs. no locks held.

markj added inline comments.
sys/vm/vm_fault.c
1642
This revision is now accepted and ready to land.Sep 16 2025, 1:31 PM
kib marked an inline comment as done.Sep 16 2025, 1:33 PM

Even more grammar. Mention m_hold.

This revision now requires review to proceed.Sep 16 2025, 1:41 PM
This revision is now accepted and ready to land.Sep 16 2025, 3:04 PM

I guess that this review didn't get automatically closed?