PERFORCE change 100600 for review
John Birrell
jb at FreeBSD.org
Wed Jul 5 02:45:29 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100600
Change 100600 by jb at 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
More information about the p4-projects
mailing list