From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: Re: Missing "unregister_cpu_notifier" in powernow-k8.c Date: Tue, 23 Nov 2010 21:19:38 -0500 Message-ID: <20101124021938.GB1987@redhat.com> References: <20101124112801.78830fba@notabene.brown> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20101124112801.78830fba@notabene.brown> Sender: cpufreq-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Neil Brown Cc: x86@kernel.org, cpufreq@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, Nov 24, 2010 at 11:28:01AM +1100, Neil Brown wrote: > > Hi, > (hope I got the right addressees above....) > > I appears that when powernow-k8 find that > > No compatible ACPI _PSS objects found. > > and suggests > > Try again with latest BIOS. > > it fails the module load, but does not unregister the cpu_notifier that was > registered in powernowk8_init > > This ends up leaving freed memory on the cpu notifier list for some other > poor module (e.g. md/raid5) to come along and trip over. > > The following might be a partial fix, but I suspect there is probably other > clean-up that is needed. > > ( https://bugzilla.novell.com/show_bug.cgi?id=655215 has full dmesg traces). Ouch, I'm surprised that took so long to turn up. I'll merge this up. It should go to stable too. thanks, Dave