Re: [-mm PATCH 5/10] Memory controller task migration (v7)
From: Balbir Singh <hidden>
Date: 2007-08-27 11:28:44
Also in:
lkml
From: Balbir Singh <hidden>
Date: 2007-08-27 11:28:44
Also in:
lkml
YAMAMOTO Takashi wrote:
quoted
Allow tasks to migrate from one container to the other. We migrate mm_struct's mem_container only when the thread group id migrates.quoted
+ /* + * Only thread group leaders are allowed to migrate, the mm_struct is + * in effect owned by the leader + */ + if (p->tgid != p->pid) + goto out;does it mean that you can't move a process between containers once its thread group leader exited? YAMAMOTO Takashi
Hi, Good catch! Currently, we treat the mm as owned by the thread group leader. But this policy can be easily adapted to any other desired policy. Would you like to see it change to something else? -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>