From owner-cvs-src@FreeBSD.ORG Fri Feb 8 00:36:01 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D47B516A41B; Fri, 8 Feb 2008 00:36:01 +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 ACFF213C459; Fri, 8 Feb 2008 00:36:01 +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 m180a09E049465; Fri, 8 Feb 2008 00:36:00 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m180Zw9h049458; Fri, 8 Feb 2008 00:35:58 GMT (envelope-from jasone) Message-Id: <200802080035.m180Zw9h049458@repoman.freebsd.org> From: Jason Evans Date: Fri, 8 Feb 2008 00:35:57 +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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 00:36:01 -0000 jasone 2008-02-08 00:35:57 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Clean up manipulation of chunk page map elements to remove some tenuous assumptions about whether bits are set at various times. This makes adding other flags safe. Reorganize functions in order to inline i{m,c,p,s,re}alloc(). This allows the entire fast-path call chains for malloc() and free() to be inlined. [1] Suggested by: [1] Stuart Parmenter Revision Changes Path 1.163 +374 -379 src/lib/libc/stdlib/malloc.c