From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Date: Sat, 24 Mar 2012 11:12:21 +0000 Subject: Re: [PATCH 09/10] um: Properly check all process' threads for a live mm Message-Id: <4F6DAC15.7040702@nod.at> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------enig88EC09FADEB6B6709009C1CF" List-Id: References: <20120324102609.GA28356@lizard> <20120324103110.GI29067@lizard> In-Reply-To: <20120324103110.GI29067@lizard> To: linux-arm-kernel@lists.infradead.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig88EC09FADEB6B6709009C1CF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 24.03.2012 11:31, schrieb Anton Vorontsov: > kill_off_processes() might miss a valid process, this is because > checking for process->mm is not enough. Process' main thread may > exit or detach its mm via use_mm(), but other threads may still > have a valid mm. >=20 > To catch this we use find_lock_task_mm(), which walks up all > threads and returns an appropriate task (with task lock held). >=20 > Suggested-by: Oleg Nesterov > Signed-off-by: Anton Vorontsov Acked-by: Richard Weinberger Thanks, //richard --------------enig88EC09FADEB6B6709009C1CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iQEcBAEBAgAGBQJPbawWAAoJEN9758yqZn9e/icH/iVN9aQ0/yXa9SJlm4SLtuzl ihg243HbKaJpRbPXf+fqsEVutMgRKM+yqkVmeuTdeADDdVSoyoBb750N1fPvq7pU yjTzeNfWySr727F6cMgblhtKzilRd6JOq+lI3JD74T/pga6mrlIE8Os8fp6HOyfR sIyklQPPtXml4b1CboiWWwc8qlHSX+2I5w2pCcOSUozsFa8rPBdvtxiXVES0OdJJ ZFcw2OICs2DbRRJXrq1PCx/qU6e9b3kb5Mj/peSQosjIltksQNafKECm6tonM8TN e4ZxUnOXUxaULn9E5C7YnuQdP/0SnmF5jnKYNkNqwNIh+oqDPoVgmKnv7aG49GQ= =Ic2C -----END PGP SIGNATURE----- --------------enig88EC09FADEB6B6709009C1CF--