aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-proc.c
diff options
context:
space:
mode:
authorAndrey Vesnovaty <[email protected]>2013-08-28 05:09:25 +0300
committerBrian Behlendorf <[email protected]>2014-04-25 15:29:18 -0700
commit703371d8c734bc2cc6350f1bca014f08245dcc69 (patch)
tree593c5e83bacee874a2fa25b1745a711fd5f30edf /module/spl/spl-proc.c
parentae16ed992bd0ef5a55b04d9edaaa6456674315f9 (diff)
Evenly distribute the taskq threads across available CPUs
The problem is described in commit aeeb4e0c0ae75b99ebbaa3056f0afc8e12949532. However, instead of disabling the binding to CPU altogether we just keep the last CPU index across calls to taskq_create() and thus achieve even distribution of the taskq threads across all available CPUs. The implementation based on assumption that task queues initialization performed in serial manner. Signed-off-by: Andrey Vesnovaty <[email protected]> Signed-off-by: Andrey Vesnovaty <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #336
Diffstat (limited to 'module/spl/spl-proc.c')
0 files changed, 0 insertions, 0 deletions