HomeFreeBSD

MFC: r346714: Add accessor function for vm->maxcpus

Description

MFC: r346714: Add accessor function for vm->maxcpus

Replace most VM_MAXCPU constant useses with an accessor function to
vm->maxcpus which for now is initialized and kept at the value of
VM_MAXCPUS.

This is a rework of Fabian Freyer (fabian.freyer_physik.tu-berlin.de)
work from D10070 to adjust it for the cpu topology changes that
occured in r332298

Approved by: bde (implicit)

Details

Committed
rgrimesMay 24 2019, 4:15 AM
Parents
rS348222: cryptodeflate: Drop z_stream zbuf.state->dummy from SDT probe.
Branches
Unknown
Tags
Unknown