svn commit: r278879 - in head/sys: kern sys

hiren panchasara hiren at strugglingcoder.info
Tue Feb 17 15:40:35 UTC 2015


On 02/17/15 at 02:35P, Adrian Chadd wrote:
> Author: adrian
> Date: Tue Feb 17 02:35:06 2015
> New Revision: 278879
> URL: https://svnweb.freebsd.org/changeset/base/278879
> 
> Log:
>   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
> 
> Modified:
>   head/sys/kern/subr_taskqueue.c
>   head/sys/sys/taskqueue.h

Can you please also update taskqueue(9) manpage?

Cheers,
Hiren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150217/d2990c93/attachment.sig>


More information about the svn-src-head mailing list