HomeFreeBSD

riscv: Add an hw.ncpu tunable to limit the number of cores

Description

riscv: Add an hw.ncpu tunable to limit the number of cores

Based on a similar change to arm64 in 01a8235ea61c.

Reviewed by: mhorne
MRC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30655

Details

Provenance
jrtc27Authored on Jun 15 2021, 12:21 AM
Reviewer
mhorne
Differential Revision
D30655: riscv: Add an hw.ncpu tunable to limit the number of cores
Parents
rG7ef082733bf8: makefs: Cast daddr_t to off_t before multiplication
Branches
Unknown
Tags
Unknown