]> git.proxmox.com Git - mirror_spl.git/commit
Remove default taskq thread to CPU bindings
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 00:31:49 +0000 (16:31 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 18:46:24 +0000 (10:46 -0800)
commitaeeb4e0c0ae75b99ebbaa3056f0afc8e12949532
treeaf201ad6275047701d81f08b95e776c9896ed124
parent2f117de8beca7da1d22103df4630e9298afae370
Remove default taskq thread to CPU bindings

When this code was written it appears to have been assumed that
every taskq would have a large number of threads.  In this case
it would make sense to attempt to evenly bind the threads over
all available CPUs.  However, it failed to consider that creating
taskqs with a small number of threads will cause the CPUs with
lower ids become over-subscribed.

For this reason the kthread_bind() call is being removed and
we're leaving the kernel to schedule these threads as it sees fit.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #325
module/spl/spl-taskq.c