Re: [PATCH] adjust root-domain->online span in response to hotplug event

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gautham R Shenoy
Date: Monday, March 10, 2008 - 1:14 am

On Sat, Mar 08, 2008 at 12:10:15AM -0500, Gregory Haskins wrote:

Hi Greg,

Suppose someone issues a wakeup at some point between CPU_UP_PREPARE
and CPU_ONLINE, then isn't there a possibility that the task could
be woken up on the cpu which has not yet come online ?
Because at this point in find_lowest_cpus()

cpus_and(*lowest_mask, task_rq(task)->rd->online, task->cpus_allowed);

the cpu which has not yet come online is set in both rd->online map
and the task->cpus_allowed.

I wonder if assigning a priority to the update_sched_domains() notifier
so that it's called immediately after migration_call() would solve the
problem.



-- 
Thanks and Regards
gautham
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] adjust root-domain->online span in response to ..., Gautham R Shenoy, (Mon Mar 10, 1:14 am)
[PATCH] keep rd->online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 6:39 am)
Re: [PATCH] keep rd->online and cpu_online_map in sync, Gautham R Shenoy, (Mon Mar 10, 7:21 am)
Re: [PATCH] keep rd->online and cpu_online_map in sync, Suresh Siddha, (Mon Mar 10, 11:12 am)
[PATCH v2] keep rd->online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 2:59 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync, Gregory Haskins, (Mon Mar 10, 3:00 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync, Rafael J. Wysocki, (Mon Mar 10, 3:03 pm)
Re: [PATCH] keep rd->online and cpu_online_map in sync, Suresh Siddha, (Mon Mar 10, 3:10 pm)
Re: [PATCH v2] keep rd->online and cpu_online_map in sync, Gautham R Shenoy, (Mon Mar 10, 9:39 pm)