Subject: Re: ktr from freebsd
To: enami tsugutomo <enami@but-b.or.jp>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 04/29/2004 21:32:18
--Apple-Mail-17--234360635
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Apr 29, 2004, at 4:03 PM, enami tsugutomo wrote:

>>> Though it is easily fixable, that is not true with current
>>> implementation.
>>
>> Huh? I was saying that we have two lengths we store in the uvmhist=20
>> entries, and that one of them is strlen()'s will be turned into a 
>> constant=
>> =20
>> at compile time by our compiler. How is that not true?
>
> The strlen call isn't folded to constant actually.

I'm pretty sure GCC 3.4 will do this, but I'm not sure GCC 3.3 will.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-17--234360635
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAkdbVOpVKkaBm8XkRAj0aAJ4stfFfR2HlRUB+0bYn0u8g/EDK0gCfbycY
cBPiBGwVAOPszXJsXj6X5pQ=
=Tdt4
-----END PGP SIGNATURE-----

--Apple-Mail-17--234360635--