Messages in this thread | | | Date | Wed, 8 Sep 2004 10:17:30 -0400 (EDT) | From | Zwane Mwaikambo <> | Subject | RE: [ACPI] Re: [PATCH] Oops and panic while unloading holder of pm_idle |
| |
Hello Shaohua,
On Wed, 8 Sep 2004, Li, Shaohua wrote:
> Yes, preempt will cause oops in pc_idle. Attached patch should close the > final race corner.
Please try and inline your patches in future, i know it may be hard with your mail client but it makes commenting on patches easier.
while (!need_resched()) { + void (*idle)(void) = NULL; +
You don't need to initialise variable `idle` here. Otherwise the rest looks fine with me.
Thanks, Zwane
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |