Adrian Chadd bfa102cae1 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
2015-02-17 02:35:06 +00:00
..
2015-01-23 21:08:24 +00:00
2015-01-22 11:12:42 +00:00
2015-01-28 21:08:09 +00:00
2015-01-22 11:12:42 +00:00
2014-10-28 04:59:33 +00:00
2014-12-14 08:43:13 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2014-11-28 09:32:07 +00:00
2015-01-23 21:08:24 +00:00
2015-01-23 21:08:24 +00:00
2014-10-15 12:38:26 +00:00
2014-10-09 02:30:38 +00:00
2014-11-30 12:52:33 +00:00
2014-11-23 12:01:52 +00:00