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)
Sep 15 2025, 3:30 PM
Unknown Object (File)
Sep 5 2025, 2:04 PM
Unknown Object (File)
Aug 14 2025, 10:53 AM
Unknown Object (File)
Jul 11 2025, 11:55 AM
Unknown Object (File)
Jul 6 2025, 4:33 PM
Unknown Object (File)
Jun 27 2025, 11:45 PM
Unknown Object (File)
Jun 25 2025, 9:59 PM
Unknown Object (File)
Jun 23 2025, 11:27 PM
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.