Page MenuHomeFreeBSD

vm_map: Simplify a call to vm_object_allocate_anon()
ClosedPublic

Authored by markj on Jul 11 2022, 11:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 10 2025, 1:40 PM
Unknown Object (File)
Nov 7 2025, 9:40 PM
Unknown Object (File)
Nov 5 2025, 11:03 PM
Unknown Object (File)
Oct 19 2025, 6:24 AM
Unknown Object (File)
Oct 18 2025, 9:19 PM
Unknown Object (File)
Oct 10 2025, 10:08 PM
Unknown Object (File)
Oct 10 2025, 3:03 PM
Unknown Object (File)
Oct 10 2025, 3:03 PM
Subscribers

Details

Summary

vm_object_allocate_anon() automatically sets "charge" to 0 if no cred
reference is provided, so the caller doesn't need any conditional logic.

No functional change intended.

Diff Detail

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