Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2007 22:39:56 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 129135 for review
Message-ID:  <200711162239.lAGMduZ5078380@repoman.freebsd.org>

index | next in thread | raw e-mail

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 */


help

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