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)
Tue, Nov 12, 2:30 PM
Unknown Object (File)
Thu, Oct 31, 5:28 PM
Unknown Object (File)
Wed, Oct 23, 7:07 PM
Unknown Object (File)
Oct 6 2024, 2:10 PM
Unknown Object (File)
Oct 6 2024, 10:41 AM
Unknown Object (File)
Oct 1 2024, 3:35 PM
Unknown Object (File)
Oct 1 2024, 1:29 PM
Unknown Object (File)
Sep 19 2024, 11:04 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