From owner-cvs-all@FreeBSD.ORG Thu Aug 14 17:03:38 2008 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 C53A81065672; Thu, 14 Aug 2008 17:03:38 +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 A66978FC18; Thu, 14 Aug 2008 17:03:38 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7EH3ckr015927; Thu, 14 Aug 2008 17:03:38 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7EH3cB6015926; Thu, 14 Aug 2008 17:03:38 GMT (envelope-from jasone@repoman.freebsd.org) Message-Id: <200808141703.m7EH3cB6015926@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jasone@repoman.freebsd.org using -f From: Jason Evans Date: Thu, 14 Aug 2008 17:03:29 +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: Thu, 14 Aug 2008 17:03:38 -0000 jasone 2008-08-14 17:03:29 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: SVN rev 181732 on 2008-08-14 17:03:29Z by jasone Re-order the terms of an expression in arena_run_reg_dalloc() to correctly detect whether the integer division table is large enough to handle the divisor. Before this change, the last two table elements were never used, thus causing the slow path to be used for those divisors. Revision Changes Path 1.175 +2 -2 src/lib/libc/stdlib/malloc.c