Date: Mon, 24 May 2010 18:21:42 +0000 (UTC) From: Ryan Stone <rstone@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c Message-ID: <201005241821.o4OILvAP086310@repoman.freebsd.org>
index | next in thread | raw e-mail
rstone 2010-05-24 18:21:42 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/hwpmc hwpmc_mod.c
Log:
SVN rev 208517 on 2010-05-24 18:21:42Z by rstone
MFC r207484:
When configuring a system-wide couting PMC, hwpmc was incorrectly logging
process mappings for that PMC. Nothing ever reads pmc logs out of a
counting PMC, so the log buffers were leaked when the PMC was
deconfigured. The process mappings are only useful for sampling PMCs
anyway, so only log the mappings if the PMC is a sampling PMC.
This bug would cause allocating sample-mode PMCs to fail with ENOMEM
after allocating several counting-mode PMCs.
Approved by: emaste (mentor)
Revision Changes Path
1.43.2.6 +9 -9 src/sys/dev/hwpmc/hwpmc_mod.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005241821.o4OILvAP086310>
