From owner-cvs-all@FreeBSD.ORG Tue Dec 18 05:27:58 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A024016A417; Tue, 18 Dec 2007 05:27:58 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 84CBB13C447; Tue, 18 Dec 2007 05:27:58 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBI5Rw6C047514; Tue, 18 Dec 2007 05:27:58 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBI5RwMp047513; Tue, 18 Dec 2007 05:27:58 GMT (envelope-from jasone) Message-Id: <200712180527.lBI5RwMp047513@repoman.freebsd.org> From: Jason Evans Date: Tue, 18 Dec 2007 05:27:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/stdlib malloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 05:27:58 -0000 jasone 2007-12-18 05:27:58 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: 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 Revision Changes Path 1.154 +47 -42 src/lib/libc/stdlib/malloc.c