shithub: riscv

Download patch

ref: 07e14e43baafbfe7855a2003faa15e70ec5640a1
parent: 4521ae32bb95562b4210c23bee02a9fe1b1e3137
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Aug 10 08:27:15 EDT 2022

9/port: allow kiloprocs -- allocate procs lazily

Treallocate the small data structures around procs eagerly,
but use malloc to allocate the large proc data structures
when we need them, which allows us to scale to many more procs.

There are still many scalability bottlenecks, so we only crank
up the nproc limit by a little bit this time around, and crank
it up more as we optimize more.