Messages in this thread | | | Date | Tue, 15 Apr 2008 11:13:19 -0700 | From | "Paul Menage" <> | Subject | Re: [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
| |