login
Header Space

 
 

Re: on CONFIG_MM_OWNER=y, kernel panic is possible.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: KOSAKI Motohiro <kosaki.motohiro@...>
Cc: Lee Schermerhorn <Lee.Schermerhorn@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>, LKML <linux-kernel@...>, linux-mm <linux-mm@...>, Andrew Morton <akpm@...>
Date: Tuesday, May 6, 2008 - 1:48 am

KOSAKI Motohiro wrote:

That is not possible. If you look at where mm_update_next_owner() is called
from, we call it from

exit_mm() and exec_mmap()

In both cases, we ensure that the task's mm has changed (to NULL and the new mm
respectively), before we call mm_update_next_owner(), hence c->mm can never be
equal to p->mm.

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

Messages in current thread:
on CONFIG_MM_OWNER=y, kernel panic is possible., KOSAKI Motohiro, (Tue May 6, 1:40 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., Balbir Singh, (Tue May 6, 1:48 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., KOSAKI Motohiro, (Tue May 6, 2:03 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., Balbir Singh, (Tue May 6, 2:32 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., KOSAKI Motohiro, (Tue May 6, 2:18 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., Balbir Singh, (Tue May 6, 2:28 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., KOSAKI Motohiro, (Tue May 6, 2:43 am)
Re: on CONFIG_MM_OWNER=y, kernel panic is possible., Paul Menage, (Tue May 6, 11:37 pm)
speck-geostationary