Re: broken suspend (sched related) [Was: 2.6.24-rc4-mm1]

Ingo Molnar
2007-12-09T07:47:28Z

* Jiri Slaby <jirislaby@gmail.com> wrote:

> On 12/08/2007 04:24 PM, Ingo Molnar wrote:
> > i'm wondering why it had no effect now
>
> diff --git a/kernel/cpu.c b/kernel/cpu.c
> index e0d3a4f..a46c252 100644
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@ -47,15 +47,21 @@ void __init cpu_hotplug_init(void)
> }
>
> #ifdef CONFIG_HOTPLUG_CPU
> -
> +#include <asm/io.h>
> void get_online_cpus(void)
> {
> + outb(0x20, 0x80);
> might_sleep();
> + outb(0x21, 0x80);

ah. If you comment out get_online_cpus()/put_online_cpus() from
kernel/softlockup.c, does it start working?

Gautham, any ideas?

Ingo