From owner-cvs-src-old@FreeBSD.ORG Thu Mar 11 07:36:56 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F97210657C1 for ; Thu, 11 Mar 2010 07:36:56 +0000 (UTC) (envelope-from fabient@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7D98B8FC19 for ; Thu, 11 Mar 2010 07:36:56 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2B7auML009522 for ; Thu, 11 Mar 2010 07:36:56 GMT (envelope-from fabient@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2B7ausd009521 for cvs-src-old@freebsd.org; Thu, 11 Mar 2010 07:36:56 GMT (envelope-from fabient@repoman.freebsd.org) Message-Id: <201003110736.o2B7ausd009521@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to fabient@repoman.freebsd.org using -f From: Fabien Thomas Date: Thu, 11 Mar 2010 07:35:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/hwpmc hwpmc_logging.c src/sys/sys pmc.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 07:36:56 -0000 fabient 2010-03-11 07:35:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/hwpmc hwpmc_logging.c sys/sys pmc.h Log: SVN rev 204998 on 2010-03-11 07:35:30Z by fabient MFC r204878: Change the way shutdown is handled for log file. pmc_flush_logfile is now non-blocking and just ask the kernel to shutdown the file. From that point, no more data is accepted by the log thread and when the last buffer is flushed the file is closed. This will remove a deadlock between pmcstat asking for flush while it cannot flush the pipe itself. Revision Changes Path 1.15.2.3 +27 -21 src/sys/dev/hwpmc/hwpmc_logging.c 1.22.2.3 +1 -1 src/sys/sys/pmc.h