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)
Tue, Nov 19, 6:19 AM
Unknown Object (File)
Sat, Nov 16, 6:24 AM
Unknown Object (File)
Tue, Nov 5, 3:41 PM
Unknown Object (File)
Sep 30 2024, 12:48 AM
Unknown Object (File)
Sep 27 2024, 2:33 PM
Unknown Object (File)
Sep 22 2024, 10:04 AM
Unknown Object (File)
Sep 20 2024, 6:46 AM
Unknown Object (File)
Sep 19 2024, 1:58 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.