Date: Thu, 11 Mar 2010 07:35:30 +0000 (UTC) From: Fabien Thomas <fabient@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_logging.c src/sys/sys pmc.h Message-ID: <201003110736.o2B7ausd009521@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003110736.o2B7ausd009521>
