]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use fixed point integer math instead of floating point math when
authorjasone <jasone@FreeBSD.org>
Tue, 18 Dec 2007 05:27:57 +0000 (05:27 +0000)
committerjasone <jasone@FreeBSD.org>
Tue, 18 Dec 2007 05:27:57 +0000 (05:27 +0000)
commitb7209126971ecb28bf4f6b1bbb24a078b590e35a
treeaca6b02fa9920445126f5c8e6a18e2c0564bfe30
parent3b94f3069c6b52c0da16f2398f27fd474010f7a4
Use fixed point integer math instead of floating point math when
calculating run sizes.  Use of the floating point unit was a potential
pessimization to context switching for applications that do not otherwise
use floating point math. [1]

Reformat cpp macro-related comments to improve consistency.

Submitted by: das
lib/libc/stdlib/malloc.c