RE: [ACPI] Re: [PATCH] Oops and panic while unloading holder of pm_idle

From: Li, Shaohua
Date: Tue Sep 07 2004 - 21:22:07 EST


Zwane Mwaikambo wrote:
>To: BlaisorBlade
>Cc: linux-kernel@xxxxxxxxxxxxxxx; acpi-devel@xxxxxxxxxxxxxxxxxxxxx;
Brown,
>Len
>Subject: [ACPI] Re: [PATCH] Oops and panic while unloading holder of
>pm_idle
>
>On Sun, 5 Sep 2004, BlaisorBlade wrote:
>
>> > There aren't many users of pm_idle
>> > outside of arch/*/kernel/process.c
>> Both APM and ACPI set pm_idle, and both can be modular. It seems,
however,
>> they are the only such ones. And since they APM and ACPI refuse to be
>both
>> loaded, we cannot have (actually) two modules which override pm_idle.
So
>> you're right.
>
>There are a few other issues with pm_idle, preempt and modular drivers
>which someone else is looking at, we'll see how things go from there.
Yes, preempt will cause oops in pc_idle. Attached patch should close the
final race corner.

Thanks,
Shaohua

Attachment: idle.patch
Description: idle.patch