Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 04:25:51 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268026 - head/sys/kern
Message-ID:  <201406300425.s5U4Pp1Q039291@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jun 30 04:25:51 2014
New Revision: 268026
URL: http://svnweb.freebsd.org/changeset/base/268026

Log:
  If we're doing RSS then ensure that the callwheel swi's are CPU pinned.

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c	Mon Jun 30 01:01:54 2014	(r268025)
+++ head/sys/kern/kern_timeout.c	Mon Jun 30 04:25:51 2014	(r268026)
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
 #if defined(__arm__)
 #include "opt_timer.h"
 #endif
+#include "opt_rss.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -104,8 +105,13 @@ static int ncallout;
 SYSCTL_INT(_kern, OID_AUTO, ncallout, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &ncallout, 0,
     "Number of entries in callwheel and size of timeout() preallocation");
 
+#ifdef	RSS
+static int pin_default_swi = 1;
+static int pin_pcpu_swi = 1;
+#else
 static int pin_default_swi = 0;
 static int pin_pcpu_swi = 0;
+#endif
 
 SYSCTL_INT(_kern, OID_AUTO, pin_default_swi, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &pin_default_swi,
     0, "Pin the default (non-per-cpu) swi (shared with PCPU 0 swi)");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406300425.s5U4Pp1Q039291>