From owner-cvs-all Sat Mar 23 8:48:47 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3449637B404; Sat, 23 Mar 2002 08:48:42 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id DAA17951; Sun, 24 Mar 2002 03:48:39 +1100 Date: Sun, 24 Mar 2002 03:48:58 +1100 (EST) From: Bruce Evans X-X-Sender: To: Poul-Henning Kamp Cc: , Subject: Re: cvs commit: src/sys/sys disklabel.h In-Reply-To: <200203231603.g2NG3Dw72667@freefall.freebsd.org> Message-ID: <20020324032036.T39700-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 23 Mar 2002, Poul-Henning Kamp wrote: > phk 2002/03/23 08:03:13 PST > > Modified files: > sys/sys disklabel.h > Log: > Hide the ugly d_boot[01] from the kernel. > > Revision Changes Path > 1.71 +4 -0 src/sys/sys/disklabel.h This reintroduces the alignment/padding problems that were fixed by removing the corresponding hiding in rev.1.35. It typically makes "struct disklabel" smaller in userland than in the kernel on 64-bit machines. E.g., on alphas, the struct size was 280 in both places, but this change makes it 276 in the kernel. It would be much more fatal on machines with 128-bit alignment requirements for pointers or 128-bit pointers since then d_boot[01] would not be naturally aligned and/or would take more space than d_packname. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message