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

!MAILaRCHIVE_VOTE_RePLACE
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 - 1:33 pm

Paul Menage wrote:

CLONE_PID?? Do you mean CLONE_THREAD?

For the case you mentioned, mm->owner is a moving target and we don't want to
spend time finding the successor, that can be expensive when threads start
exiting one-by-one quickly and when the number of threads are high. I wonder if
there is an efficient way to find mm->owner in that case.

(Also I

Yes, but in that case we'll not be charging/uncharging anything to that mm or
the cgroup to which the mm belongs.


Yes, I understand that part of RCU.

-- 
	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-&gt;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->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)