Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 02:45:28 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100600 for review
Message-ID:  <200607050245.k652jSNp038378@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100600

Change 100600 by jb@jb_freebsd2 on 2006/07/05 02:45:17

	Revise the size of the padding to reflect the additional fields
	in the machine independent part of the pcpu structure for 
	DTrace.
	
	Note: This padding will break if KTR_PERCPU is defined on sun4v
	because that adds variables to the pcpu structure that don't
	add up to a multiple of 64 bytes as expected by sun4v/machdep.c.

Affected files ...

.. //depot/projects/dtrace/src/sys/sun4v/include/pcpu.h#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/sun4v/include/pcpu.h#2 (text+ko) ====

@@ -79,7 +79,7 @@
 	struct rwindow pc_tsbwbuf[2];                                   \
 	u_int   pc_node;                                                \
         uint16_t pc_cpulist[MAXCPU];                                    \
-        uint64_t pad[7];
+        uint64_t pad[1];
 
 	/* XXX SUN4V_FIXME - as we access the *_ra and *_size fields in quick
 	 * succession we _really_ want them to be L1 cache line size aligned



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