Page MenuHomeFreeBSD

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

Authored by kib on Sep 16 2025, 3:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 6:07 AM
Unknown Object (File)
Wed, Nov 5, 1:10 AM
Unknown Object (File)
Sun, Nov 2, 7:13 AM
Unknown Object (File)
Oct 27 2025, 10:15 PM
Unknown Object (File)
Oct 21 2025, 11:50 AM
Unknown Object (File)
Oct 18 2025, 1:32 AM
Unknown Object (File)
Oct 17 2025, 4:08 PM
Unknown Object (File)
Oct 16 2025, 7:46 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