(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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>