lkml.org 
[lkml]   [2008]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Fwd: [-mm] Add an owner to the mm_struct (v9)]
On Tue, Apr 15, 2008 at 10:13 AM, Oleg Nesterov <oleg@tv-sign.ru> wrote:
>
> Let's suppose the process with a lot of threads does exit_group() and nobody
> else uses this ->mm. How many time we will re-assign mm->owner and iterate
> over the all threads in system ?
>

In general we won't get to the third loop, since one of the first two
loops (children or siblings) will find another mm user.

Paul


\
 
 \ /
  Last update: 2008-04-15 20:17    [W:0.063 / U:1.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site