From owner-p4-projects@FreeBSD.ORG Fri Nov 16 22:39:56 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C713F16A468; Fri, 16 Nov 2007 22:39:56 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CCBD16A418 for ; Fri, 16 Nov 2007 22:39:56 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0BC13C455 for ; Fri, 16 Nov 2007 22:39:56 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGMdumc078383 for ; Fri, 16 Nov 2007 22:39:56 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAGMduZ5078380 for perforce@freebsd.org; Fri, 16 Nov 2007 22:39:56 GMT (envelope-from jb@freebsd.org) Date: Fri, 16 Nov 2007 22:39:56 GMT Message-Id: <200711162239.lAGMduZ5078380@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 129135 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 22:39:57 -0000 http://perforce.freebsd.org/chv.cgi?CH=129135 Change 129135 by jb@jb_freebsd1 on 2007/11/16 22:39:47 Move the kernel DTrace hooks initialisation before proc0 so that the extra DTrace memory can be allocated and initialised for proc0/thread0 the same way that it is for all other procs/threads. Affected files ... .. //depot/projects/dtrace/src/sys/sys/kernel.h#14 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/kernel.h#14 (text+ko) ==== @@ -113,6 +113,7 @@ SI_SUB_EVENTHANDLER = 0x1C00000, /* eventhandler init */ SI_SUB_KLD = 0x2000000, /* KLD and module setup */ SI_SUB_CPU = 0x2100000, /* CPU resource(s)*/ + SI_SUB_KDTRACE = 0x2140000, /* Kernel dtrace hooks */ SI_SUB_MAC = 0x2180000, /* TrustedBSD MAC subsystem */ SI_SUB_MAC_POLICY = 0x21C0000, /* TrustedBSD MAC policies */ SI_SUB_MAC_LATE = 0x21D0000, /* TrustedBSD MAC subsystem */ @@ -121,7 +122,6 @@ SI_SUB_RUN_QUEUE = 0x2400000, /* set up run queue*/ SI_SUB_KTRACE = 0x2480000, /* ktrace */ SI_SUB_CYCLIC = 0x2490000, /* Cyclic timers */ - SI_SUB_KDTRACE = 0x24A0000, /* Kernel dtrace hooks */ SI_SUB_DTRACE = 0x24B0000, /* DTrace subsystem */ SI_SUB_DTRACE_PROVIDER = 0x24B8000, /* DTrace providers */ SI_SUB_DTRACE_ANON = 0x24BC000, /* DTrace anon enabling */