From owner-svn-src-all@FreeBSD.ORG Tue Mar 27 19:12:35 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6048D106566C; Tue, 27 Mar 2012 19:12:35 +0000 (UTC) (envelope-from gonzo@hq.bluezbox.com) Received: from hq.bluezbox.com (hq.bluezbox.com [70.38.37.145]) by mx1.freebsd.org (Postfix) with ESMTP id 8E09E8FC15; Tue, 27 Mar 2012 19:12:34 +0000 (UTC) Received: from localhost ([127.0.0.1]) by hq.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1SCbBm-000879-Ev; Tue, 27 Mar 2012 11:32:15 -0700 Message-ID: <4F7207B5.8060802@freebsd.org> Date: Tue, 27 Mar 2012 11:32:21 -0700 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: Fabien Thomas References: <201203271402.q2RE2Nb7088755@svn.freebsd.org> In-Reply-To: <201203271402.q2RE2Nb7088755@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@hq.bluezbox.com X-Spam-Level: ---- X-Spam-Report: Spam detection software, running on the system "hq.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 27/03/2012 7:02 AM, Fabien Thomas wrote: > Author: fabient > Date: Tue Mar 27 14:02:22 2012 > New Revision: 233544 > URL: http://svn.freebsd.org/changeset/base/233544 > > Log: > Fix random deadlock on pmcstat exit: > - Exit the thread when soft shutdown is requested > - Wakeup owner thread. > > Reproduced/tested by looping pmcstat measurement: > pmcstat -S instructions -O/tmp/test ls [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r233544 - head/sys/dev/hwpmc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 19:12:35 -0000 On 27/03/2012 7:02 AM, Fabien Thomas wrote: > Author: fabient > Date: Tue Mar 27 14:02:22 2012 > New Revision: 233544 > URL: http://svn.freebsd.org/changeset/base/233544 > > Log: > Fix random deadlock on pmcstat exit: > - Exit the thread when soft shutdown is requested > - Wakeup owner thread. > > Reproduced/tested by looping pmcstat measurement: > pmcstat -S instructions -O/tmp/test ls Thanks for fixing this! I ran into this issue several times but didn't have time to track it down.