Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 16:03:34 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.ORG, syssgm@detir.qld.gov.au
Subject:   Re: EGCS breaks what(1)
Message-ID:  <199904060603.QAA18049@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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