Date: Thu, 5 Aug 2010 20:40:13 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_core.c hwpmc_core.h Message-ID: <201008052040.o75KeWvu045058@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gnn 2010-08-05 20:40:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hwpmc hwpmc_core.c hwpmc_core.h Log: SVN rev 210895 on 2010-08-05 20:40:13Z by gnn MFC: 210621 Make sure that we clear the correct bits when we turn off a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr() to all necessary functions, not just those which previously caused a panic. Pointed out by: jhb@ Revision Changes Path 1.4.2.8 +28 -21 src/sys/dev/hwpmc/hwpmc_core.c 1.1.2.4 +6 -0 src/sys/dev/hwpmc/hwpmc_core.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008052040.o75KeWvu045058>