From owner-cvs-all@FreeBSD.ORG Fri Feb 8 08:02:35 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 3665216A41A; Fri, 8 Feb 2008 08:02:35 +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 1370713C45B; Fri, 8 Feb 2008 08:02:35 +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 m1882YhA000647; Fri, 8 Feb 2008 08:02:34 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1882YtJ000646; Fri, 8 Feb 2008 08:02:34 GMT (envelope-from jasone) Message-Id: <200802080802.m1882YtJ000646@repoman.freebsd.org> From: Jason Evans Date: Fri, 8 Feb 2008 08:02:34 +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: Fri, 08 Feb 2008 08:02:35 -0000 jasone 2008-02-08 08:02:34 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix a bug in lazy deallocation that was introduced when arena_dalloc_lazy_hard() was split out of arena_dalloc_lazy() in revision 1.162. Reduce thundering herd problems in lazy deallocation by randomly varying how many probes a thread does before taking the slow path. Revision Changes Path 1.164 +10 -7 src/lib/libc/stdlib/malloc.c