svn commit: r297569 - head/sys/net

John Baldwin jhb at FreeBSD.org
Tue Apr 5 00:09:21 UTC 2016


Author: jhb
Date: Tue Apr  5 00:09:19 2016
New Revision: 297569
URL: https://svnweb.freebsd.org/changeset/base/297569

Log:
  Remove an unneeded check.
  
  CPUs with valid per-CPU data are not absent.
  
  Sponsored by:	Netflix

Modified:
  head/sys/net/netisr.c

Modified: head/sys/net/netisr.c
==============================================================================
--- head/sys/net/netisr.c	Tue Apr  5 00:08:42 2016	(r297568)
+++ head/sys/net/netisr.c	Tue Apr  5 00:09:19 2016	(r297569)
@@ -1167,9 +1167,6 @@ netisr_start(void *arg)
 	STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
 		if (nws_count >= netisr_maxthreads)
 			break;
-		/* XXXRW: Is skipping absent CPUs still required here? */
-		if (CPU_ABSENT(pc->pc_cpuid))
-			continue;
 		/* Worker will already be present for boot CPU. */
 		if (pc->pc_netisr != NULL)
 			continue;


More information about the svn-src-head mailing list