Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dev/dtrace Create "dtrace_taskq" here li...
details: https://anonhg.NetBSD.org/src/rev/595917615e51
branches: trunk
changeset: 462012:595917615e51
user: hannken <hannken%NetBSD.org@localhost>
date: Tue Jul 23 09:06:12 2019 +0000
description:
Create "dtrace_taskq" here like FreeBSD does.
PR kern/54397: Panic when loading a DTrace module whilst DTrace is running
diffstat:
external/cddl/osnet/dev/dtrace/dtrace_load.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 0bf1a7b4dea6 -r 595917615e51 external/cddl/osnet/dev/dtrace/dtrace_load.c
--- a/external/cddl/osnet/dev/dtrace/dtrace_load.c Tue Jul 23 08:25:52 2019 +0000
+++ b/external/cddl/osnet/dev/dtrace/dtrace_load.c Tue Jul 23 09:06:12 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtrace_load.c,v 1.4 2018/05/28 21:05:03 chs Exp $ */
+/* $NetBSD: dtrace_load.c,v 1.5 2019/07/23 09:06:12 hannken Exp $ */
/*
* CDDL HEADER START
@@ -88,9 +88,9 @@
/* Hang our hook for exceptions. */
dtrace_invop_init();
-#ifdef __FreeBSD__
dtrace_taskq = taskq_create("dtrace_taskq", 1, maxclsyspri, 0, 0, 0);
+#ifdef __FreeBSD__
dtrace_arena = new_unrhdr(1, INT_MAX, &dtrace_unr_mtx);
/* Register callbacks for linker file load and unload events. */
Home |
Main Index |
Thread Index |
Old Index