From owner-p4-projects@FreeBSD.ORG Wed Jul 5 02:45:29 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 658B516A4F0; Wed, 5 Jul 2006 02:45:29 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4239A16A4ED for ; Wed, 5 Jul 2006 02:45:29 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D588D43D5F for ; Wed, 5 Jul 2006 02:45:28 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k652jS0K038383 for ; Wed, 5 Jul 2006 02:45:28 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k652jSNp038378 for perforce@freebsd.org; Wed, 5 Jul 2006 02:45:28 GMT (envelope-from jb@freebsd.org) Date: Wed, 5 Jul 2006 02:45:28 GMT Message-Id: <200607050245.k652jSNp038378@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 100600 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: Wed, 05 Jul 2006 02:45:29 -0000 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