Date: Thu, 5 Aug 2010 20:02:59 +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: <201008052003.o75K3Heq042013@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gnn 2010-08-05 20:02:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/hwpmc hwpmc_core.c hwpmc_core.h Log: SVN rev 210893 on 2010-08-05 20:02:59Z 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.4.8 +28 -21 src/sys/dev/hwpmc/hwpmc_core.c 1.1.4.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?201008052003.o75K3Heq042013>