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. > > To catch this we use find_lock_task_mm(), which walks up all > threads and returns an appropriate task (with task lock held). > > Suggested-by: Oleg Nesterov <o...@redhat.com> > Signed-off-by: Anton Vorontsov <anton.voront...@linaro.org>
Acked-by: Richard Weinberger <rich...@nod.at> Thanks, //richard
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel