Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 08:33:36 -0700 (PDT)
From:      Kip Macy <kmacy@fsmware.com>
To:        Markus Trippelsdorf <markus@trippelsdorf.de>
Cc:        freebsd-fs@FreeBSD.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, freebsd-geom@FreeBSD.org
Subject:   Re: GJournal (hopefully) final patches.
Message-ID:  <20060810083206.D27159@demos.bsdclusters.com>
In-Reply-To: <20060810135426.GA778@bsd.trippelsdorf.de>
References:  <20060808195202.GA1564@garage.freebsd.pl> <20060808210211.GA730@bsd.trippelsdorf.de> <20060808214116.GB730@bsd.trippelsdorf.de> <868xlw3e2z.fsf@xps.des.no> <20060810135426.GA778@bsd.trippelsdorf.de>

next in thread | previous in thread | raw e-mail | index | archive | help


> > -fno-strict-aliasing does not solve anything, it just prevents the
> > compiler from telling you about bugs in your code.
>
> Which must be the reason that it is used when building the kernel on AMD64.
> ;-)

Actually, whenever the kernel is compiled with -O2. "Type punning" is
sufficiently uncommon in the kernel proper that it is correctable there.
However, it is pervasive throughout the device drivers.

                -Kip



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