Date: Sun, 24 Mar 2002 03:48:58 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/sys disklabel.h Message-ID: <20020324032036.T39700-100000@gamplex.bde.org> In-Reply-To: <200203231603.g2NG3Dw72667@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324032036.T39700-100000>