> On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote:> > Hi all.> > > > There is a problem on my macbook core duo with suspend.> > after suspending when i'm trying to 'wake up' my notebook, it seems> > that it works, but i don't see anything at my monitor. So i have to> > reboot it to continue my work.> > What exactly do you do to suspend?>

This is due to _cpu_down() calling kthread_bind() in state TASK_RUNNING.

So I was sent the below, including worrisome changelog.

From: Gautham R Shenoy <ego@in.ibm.com>

We are anyway kthread_stop()ping other per-cpu kernel threads aftermove_task_off_dead_cpu(), so we can do it with the stop_machine_run threadas well.

I just checked with Vatsa if there was any subtle reason why theyhad put in the kthread_bind() in cpu.c. Vatsa cannot seem to recollectany and I can't see any. So let us just remove the kthread_bind.