lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830804151113i73010bb4x48e658195f295d41@mail.gmail.com>
Date:	Tue, 15 Apr 2008 11:13:19 -0700
From:	"Paul Menage" <menage@...gle.com>
To:	"Oleg Nesterov" <oleg@...sign.ru>
Cc:	"Andrew Morton" <akpm@...ux-foundation.org>,
	balbir@...ux.vnet.ibm.com, serue@...ibm.com,
	penberg@...helsinki.fi, linux-kernel@...r.kernel.org
Subject: Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)]

On Tue, Apr 15, 2008 at 10:13 AM, Oleg Nesterov <oleg@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ