From owner-freebsd-current Tue Apr 6 13:38:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from eagle.phc.igs.net (eagle.phc.igs.net [207.210.17.201]) by hub.freebsd.org (Postfix) with ESMTP id A54C815516 for ; Tue, 6 Apr 1999 13:38:40 -0700 (PDT) (envelope-from eagle@eagle.phc.igs.net) Received: from localhost (eagle@localhost) by eagle.phc.igs.net (8.9.3/8.9.3) with SMTP id QAA76823; Tue, 6 Apr 1999 16:35:05 GMT (envelope-from eagle@eagle.phc.igs.net) Date: Tue, 6 Apr 1999 16:35:05 +0000 (GMT) From: eagle To: Bruce Evans Cc: freebsd-current@FreeBSD.ORG, syssgm@detir.qld.gov.au Subject: Re: EGCS breaks what(1) In-Reply-To: <199904060603.QAA18049@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Apr 1999, Bruce Evans wrote: > >Alternately, we could jimmy around with the current hack, and prefix it > >with 4 NULs, and see what happened. Sorry, I haven't tested this idea, as > >I've not yet made the EGCS jump. > > egcs aligns long (>= about 28 bytes) strings to 32-byte boundaries. This > adds up to 27 NULs to sccsid[] depending on the alignment of sccsidp[]. > > Aligning long strings to 32-byte boundaries is a pessimisation in kernels > (because it makes poor locality poorer), especially on 486's where the > cache line size is 16. > > Bruce > not aligning data is extremely expensive on PII's rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message