login
Header Space

 
 

Re: [RFC][-mm] Memory controller add mm->owner

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Menage <menage@...>
Cc: <linux-mm@...>, Hugh Dickins <hugh@...>, Sudhir Kumar <skumar@...>, YAMAMOTO Takashi <yamamoto@...>, <lizf@...>, <linux-kernel@...>, <taka@...>, David Rientjes <rientjes@...>, Pavel Emelianov <xemul@...>, Andrew Morton <akpm@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Date: Monday, March 24, 2008 - 12:21 pm

Paul Menage wrote:

OK, will do


Hmm.. Yes, we will need to do that if we decide to go with the MM_OWNER approach.


The comment in __exit_signal states that

"The group leader stays around as a zombie as long
 as there are other threads.  When it gets reaped,
 the exit.c code will add its counts into these totals."

Given that the thread group leader stays around, do we need to reassign
mm->owner? Do you do anything special in cgroups like cleanup the
task_struct->css->subsys_state on exit?


OK, so cgroup task movement is protected by RCU, right? I'll check for all
mm->owner uses.


This reference earlier indicated that there were active mm->mem_cgroup users of
the cgroup. With mm->owner changes, we might not require this. Let me double
confirm that.

Thanks for the review.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Mon Mar 24, 10:01 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Li Zefan, (Mon Mar 24, 9:26 pm)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Tue Mar 25, 11:48 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Paul Menage, (Mon Mar 24, 11:03 am)
Re: [RFC][-mm] Memory controller add mm->owner, Balbir Singh, (Mon Mar 24, 12:21 pm)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Paul Menage, (Mon Mar 24, 12:34 pm)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Mon Mar 24, 1:33 pm)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Paul Menage, (Mon Mar 24, 1:46 pm)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Tue Mar 25, 7:41 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Wed Mar 26, 6:29 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Paul Menage, (Wed Mar 26, 7:20 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Balbir Singh, (Wed Mar 26, 7:41 am)
Re: [RFC][-mm] Memory controller add mm-&gt;owner, Paul Menage, (Wed Mar 26, 11:21 am)
speck-geostationary