zfs/module
DeHackEd 76a1232ee7 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-09-16 13:35:42 -07:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-09-15 21:16:58 +00:00
lua Switch off -Wmissing-prototypes for libgcc math functions 2020-09-15 21:21:05 +00:00
nvpair cppcheck: (warning) Possible null pointer dereference: nvh 2020-01-22 13:49:06 -08:00
spl Switch off -Wmissing-prototypes for libgcc math functions 2020-09-15 21:21:05 +00:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Bugfix/fix uio partial copies 2020-05-12 10:53:32 -07:00
zfs Use boot_ncpus in place of max_ncpus in taskq_create 2020-09-16 13:35:42 -07:00
.gitignore Adapt gitignore for modules 2020-01-22 13:49:05 -08:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00