login
Header Space

 
 

Re: [-mm] Add an owner to the mm_struct (v9)

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

KAMEZAWA Hiroyuki wrote:

The way this works is

If I select memory resource controller, CONFIG_MM_OWNER is set to y, else it
does not even show up in the .config


do_each_thread(), while_each_thread() walks all processes and threads of those
processes in the system. It is a common pattern used in the kernel (see
try_to_freeze_tasks() or oom_kill_task() for example).



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

Messages in current thread:
[-mm] Add an owner to the mm_struct (v9), Balbir Singh, (Thu Apr 10, 5:16 am)
Re: [-mm] Add an owner to the mm_struct (v9), KAMEZAWA Hiroyuki, (Mon Apr 14, 9:31 pm)
Re: [-mm] Add an owner to the mm_struct (v9), KAMEZAWA Hiroyuki, (Thu Apr 10, 11:33 pm)
Re: [-mm] Add an owner to the mm_struct (v9), Balbir Singh, (Fri Apr 11, 12:27 am)
Re: [-mm] Add an owner to the mm_struct (v9), KAMEZAWA Hiroyuki, (Fri Apr 11, 12:47 am)
Re: [-mm] Add an owner to the mm_struct (v9), Balbir Singh, (Fri Apr 11, 12:47 am)
Re: [-mm] Add an owner to the mm_struct (v9), KAMEZAWA Hiroyuki, (Fri Apr 11, 12:58 am)
Re: [-mm] Add an owner to the mm_struct (v9), Balbir Singh, (Fri Apr 11, 12:56 am)
speck-geostationary