diff options
author | adrian <adrian@FreeBSD.org> | 2015-02-17 02:35:06 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-02-17 02:35:06 +0000 |
commit | f9f1541cd2cb39b331dbbe130142e1c634d9d6dc (patch) | |
tree | cd1d26d0d75de672d9914abefcb3c01bbcf1b917 /contrib/llvm/lib/Support | |
parent | bc079090543f41c7d0d5d8aec277d801154e613a (diff) | |
download | FreeBSD-src-f9f1541cd2cb39b331dbbe130142e1c634d9d6dc.zip FreeBSD-src-f9f1541cd2cb39b331dbbe130142e1c634d9d6dc.tar.gz |
Implement taskqueue_start_threads_cpuset().
This is a more generic version of taskqueue_start_threads_pinned()
which only supports a single cpuid.
This originally came from John Baldwin <jhb@> who implemented it
as part of a push towards NUMA awareness in drivers. I started implementing
something similar for RSS and NUMA, then found he already did it.
I'd like to axe taskqueue_start_threads_pinned() so it doesn't become
part of a longer-term API. (Read: hps@ wants to MFC things, and
if I don't do this soon, he'll MFC what's here. :-)
I have a follow-up commit which converts the intel drivers over
to using the cpuset version of this function, so we can eventually
nuke the the pinned version.
Tested:
* igb, ixgbe
Obtained from: jhbbsd
Diffstat (limited to 'contrib/llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions