(2013/01/22 22:47), Glauber Costa wrote: > Currently, we rely on the cgroup_lock() to prevent changes to > move_charge_at_immigrate during task migration. However, this is only > needed because the current strategy keeps checking this value throughout > the whole process. Since all we need is serialization, one needs only to > guarantee that whatever decision we made in the beginning of a specific > migration is respected throughout the process. > > We can achieve this by just saving it in mc. By doing this, no kind of > locking is needed. > > [ v2: change flag name to avoid confusion ] > > Signed-off-by: Glauber Costa <glommer@xxxxxxxxxxxxx> > Acked-by: Michal Hocko <mhocko@xxxxxxx> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html