Files
mirror_zfs/module
DeHackEd 57434abae6 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 <behlendorf1@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Closes #10282
2020-05-20 10:07:21 -07:00
..
2019-11-01 10:41:03 -07:00
2020-04-29 17:30:13 -07:00
2019-11-01 10:41:03 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00