aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua/lbaselib.c
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2020-05-20 13:07:21 -0400
committerGitHub <[email protected]>2020-05-20 10:07:21 -0700
commit57434abae6af23cf0b0b360882762dfae7fee555 (patch)
tree579045b12eee6557d4d650869ab380266cae3b5c /module/lua/lbaselib.c
parentde4f06c275430937026e328f48438cc799eba987 (diff)
Use boot_ncpus in place of max_ncpus in taskq_create
Due to hotplug support or BIOS bugs sometimes max_ncpus can be an absurdly high value. I have a system with 32 cores/threads but reports max_ncpus == 440. This many threads potentially cripples the system during arc_prune floods for example. boot_ncpus is the number of working CPUs when called so use that instead. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: DHE <[email protected]> Closes #10282
Diffstat (limited to 'module/lua/lbaselib.c')
0 files changed, 0 insertions, 0 deletions