Page MenuHomeFreeBSD

Avoid unneeded check in vmspace_alloc().
ClosedPublic

Authored by kib on Nov 25 2018, 8:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 10:35 PM
Unknown Object (File)
Dec 22 2023, 10:11 PM
Unknown Object (File)
Dec 20 2023, 7:39 PM
Unknown Object (File)
Dec 11 2023, 2:37 AM
Unknown Object (File)
Sep 7 2023, 1:13 PM
Unknown Object (File)
Sep 5 2023, 8:24 PM
Unknown Object (File)
Aug 27 2023, 6:56 AM
Unknown Object (File)
Aug 13 2023, 6:19 AM
Subscribers

Details

Summary

All vmspace_alloc() callers know which kind of pmap they allocate.

Test Plan

Booted multiuser, ran bhyve vm.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 25 2018, 5:12 PM
alc added inline comments.
sys/vm/vm_map.c
3423 ↗(On Diff #51084)

The & is unnecessary.

3974 ↗(On Diff #51084)

Ditto.

This revision was automatically updated to reflect the committed changes.