svn commit: r328327 - stable/11/sys/sys
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Jan 24 12:51:14 UTC 2018
Author: hselasky
Date: Wed Jan 24 12:51:13 2018
New Revision: 328327
URL: https://svnweb.freebsd.org/changeset/base/328327
Log:
MFC r322596:
Add SI_SUB_TASKQ after SI_SUB_INTR and move taskqueue initialization there for EARLY_AP_STARTUP
This fixes a regression accidentally introduced in r322588, due to an
interaction with EARLY_AP_STARTUP.
Discussed with: cem@
Reviewed by: bdrewery@, jhb@
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12053
Modified:
stable/11/sys/sys/kernel.h
stable/11/sys/sys/taskqueue.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/sys/kernel.h
==============================================================================
--- stable/11/sys/sys/kernel.h Wed Jan 24 12:40:28 2018 (r328326)
+++ stable/11/sys/sys/kernel.h Wed Jan 24 12:51:13 2018 (r328327)
@@ -118,6 +118,7 @@ enum sysinit_sub_id {
SI_SUB_SCHED_IDLE = 0x2600000, /* required idle procs */
SI_SUB_MBUF = 0x2700000, /* mbuf subsystem */
SI_SUB_INTR = 0x2800000, /* interrupt threads */
+ SI_SUB_TASKQ = 0x2880000, /* task queues */
#ifdef EARLY_AP_STARTUP
SI_SUB_SMP = 0x2900000, /* start the APs*/
#endif
Modified: stable/11/sys/sys/taskqueue.h
==============================================================================
--- stable/11/sys/sys/taskqueue.h Wed Jan 24 12:40:28 2018 (r328326)
+++ stable/11/sys/sys/taskqueue.h Wed Jan 24 12:51:13 2018 (r328327)
@@ -149,7 +149,7 @@ taskqueue_define_##name(void *arg) \
init; \
} \
\
-SYSINIT(taskqueue_##name, SI_SUB_INIT_IF, SI_ORDER_SECOND, \
+SYSINIT(taskqueue_##name, SI_SUB_TASKQ, SI_ORDER_SECOND, \
taskqueue_define_##name, NULL); \
\
struct __hack
@@ -174,7 +174,7 @@ taskqueue_define_##name(void *arg) \
init; \
} \
\
-SYSINIT(taskqueue_##name, SI_SUB_INIT_IF, SI_ORDER_SECOND, \
+SYSINIT(taskqueue_##name, SI_SUB_TASKQ, SI_ORDER_SECOND, \
taskqueue_define_##name, NULL); \
\
struct __hack
More information about the svn-src-all
mailing list