Page MenuHomeFreeBSD

vm: avoid lock upgrade if possible in vm_fault_next
ClosedPublic

Authored by mjg on Mar 11 2023, 9:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 30, 9:09 AM
Unknown Object (File)
Tue, Nov 18, 11:01 AM
Unknown Object (File)
Nov 11 2025, 2:57 AM
Unknown Object (File)
Nov 8 2025, 7:57 PM
Unknown Object (File)
Nov 2 2025, 11:47 AM
Unknown Object (File)
Nov 2 2025, 11:47 AM
Unknown Object (File)
Nov 2 2025, 11:45 AM
Unknown Object (File)
Oct 27 2025, 10:18 PM
Subscribers

Details

Summary
In my tests during buildkernel fs->m was always NULL at that stage.

Note the change has no impact on vm obj contention during said workload.

for interested, an vm obj contention only shows up at the very end and it stems from lld suddenly spawning 104 threads.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable