Re: cpusets vs cpu-hotplug interaction is broken?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gautham R Shenoy <ego@...>
Cc: Cliff Wickman <cpw@...>, Paul Jackson <pj@...>, Paul Menage <menage@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Srivatsa Vaddagiri <vatsa@...>
Date: Wednesday, August 29, 2007 - 6:52 am

On 08/29, Gautham R Shenoy wrote:

Note also that cpuset_cpus_allowed()->guarentee_online_cpus() easily allows
the task to escape its ->cpuset, sched_setaffinity(cpumask_of_cpu(OFFLINE_CPU))
is enough.

Another note, http://marc.info/?t=118823976000002 really needs something
like guarentee_online_cpus(). However even in this case we shouldn't afaics
"and" cpuset->cpus_allowed with cpu_online_map.

Oleg.

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

Messages in current thread:
cpuset: attach_task() vs sched_setaffinity() race?, Oleg Nesterov, (Sat Aug 25, 12:26 pm)
cpusets vs cpu-hotplug interaction is broken?, Oleg Nesterov, (Tue Aug 28, 9:48 am)
Re: cpusets vs cpu-hotplug interaction is broken?, Gautham R Shenoy, (Wed Aug 29, 4:51 am)
Re: cpusets vs cpu-hotplug interaction is broken?, Oleg Nesterov, (Wed Aug 29, 6:52 am)
Re: cpusets vs cpu-hotplug interaction is broken?, Gautham R Shenoy, (Wed Aug 29, 8:51 am)