Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2018 07:28:02 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333243 - head/sys/cddl/compat/opensolaris/kern
Message-ID:  <201805040728.w447S2sh029525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri May  4 07:28:01 2018
New Revision: 333243
URL: https://svnweb.freebsd.org/changeset/base/333243

Log:
  opensolaris system_taskq does not need to run at maximum priority
  
  In fact, this taskqueue should use "boring" threads, nothing special
  about them.
  
  MFC after:	2 weeks

Modified:
  head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c

Modified: head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c
==============================================================================
--- head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c	Fri May  4 06:51:01 2018	(r333242)
+++ head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c	Fri May  4 07:28:01 2018	(r333243)
@@ -48,7 +48,8 @@ system_taskq_init(void *arg)
 
 	taskq_zone = uma_zcreate("taskq_zone", sizeof(taskq_ent_t),
 	    NULL, NULL, NULL, NULL, 0, 0);
-	system_taskq = taskq_create("system_taskq", mp_ncpus, 0, 0, 0, 0);
+	system_taskq = taskq_create("system_taskq", mp_ncpus, minclsyspri,
+	    0, 0, 0);
 }
 SYSINIT(system_taskq_init, SI_SUB_CONFIGURE, SI_ORDER_ANY, system_taskq_init, NULL);
 



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