Re: [PATCH 08/11] cpuset: separate configured masks and efffectivemasks

From: Tejun Heo
Date: Wed Aug 21 2013 - 10:08:55 EST


On Wed, Aug 21, 2013 at 06:00:42PM +0800, Li Zefan wrote:
> @@ -2261,7 +2271,8 @@ static void cpuset_hotplug_workfn(struct work_struct *work)
> /* synchronize mems_allowed to N_MEMORY */
> if (mems_updated) {
> mutex_lock(&callback_mutex);
> - top_cpuset.mems_allowed = new_mems;
> + if (!sane)
> + top_cpuset.mems_allowed = new_mems;

Can you please further explain how the top cgroup behaves?

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/