Skip to content
Commit ac818314 authored by Neil Brown's avatar Neil Brown Committed by Dave Jones
Browse files

[CPUFREQ] Missing "unregister_cpu_notifier" in powernow-k8.c



It appears that when powernow-k8 finds 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).

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
parent dd9c1549
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment