Page MenuHomeFreeBSD

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

Authored by jrtc27 on Sat, Jun 5, 7:51 PM.

Details

Summary

Based on a similar change to arm64 in 01a8235ea61c.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jrtc27 requested review of this revision.Sat, Jun 5, 7:51 PM
mhorne added inline comments.
sys/riscv/riscv/mp_machdep.c
547

No nicer way to do this I suppose :|

This revision is now accepted and ready to land.Mon, Jun 7, 8:54 PM