Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are dealocked when cpu is set to offline

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gautham R Shenoy
Date: Monday, March 3, 2008 - 8:31 am

On Mon, Mar 03, 2008 at 02:42:09AM +0800, Yi Yang wrote:

Hi Yi,

This is indeed strange. I am able to reproduce this problem on my 4-way
box. From what I see in the past two runs, we're waiting in the
cpu-hotplug callback path for the watchdog/1 thread to stop.

During cpu-offline, once the cpu goes offline, in the migration_call(), 
we migrate any tasks associated with the offline cpus
to some other cpu. This also mean breaking affinity for tasks which were
affined to the cpu which went down. So watchdog/1 has been migrated to
some other cpu.

However, it remains in R< state and has not executed the
kthread_should_stop() instruction.

I'm trying to probe further by inserting a few more printk's in there.

Will post the findings in a couple of hours.

Thanks for reporting the problem.

Regards
gautham.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG 2.6.25-rc3] scheduler/hotplug: some processes are ..., Gautham R Shenoy, (Mon Mar 3, 8:31 am)
[PATCH] keep rd-&gt;online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 6:39 am)
Re: [PATCH] keep rd-&gt;online and cpu_online_map in sync, Gautham R Shenoy, (Mon Mar 10, 7:21 am)
Re: [PATCH] keep rd-&gt;online and cpu_online_map in sync, Suresh Siddha, (Mon Mar 10, 11:12 am)
[PATCH v2] keep rd-&gt;online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 2:59 pm)
Re: [PATCH] keep rd-&gt;online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 3:00 pm)
Re: [PATCH] keep rd-&gt;online and cpu_online_map in sync, Rafael J. Wysocki, (Mon Mar 10, 3:03 pm)
Re: [PATCH] keep rd-&gt;online and cpu_online_map in sync, Suresh Siddha, (Mon Mar 10, 3:10 pm)
Re: [PATCH v2] keep rd-&gt;online and cpu_online_map in sync, Gautham R Shenoy, (Mon Mar 10, 9:39 pm)