From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH 0/1][V3] Handle reboot in a child pid namespace Date: Mon, 05 Dec 2011 21:49:32 +0100 Message-ID: <4EDD2E5C.1050107@free.fr> References: <1323030290-22216-1-git-send-email-daniel.lezcano@free.fr> <20111204212756.GB16362@khazad-dum.debian.net> <4EDBFD67.1040009@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EDBFD67.1040009-GANU6spQydw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Cc: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Henrique de Moraes Holschuh List-Id: containers.vger.kernel.org On 12/05/2011 12:08 AM, Daniel Lezcano wrote: > On 12/04/2011 10:27 PM, Henrique de Moraes Holschuh wrote: >> On Sun, 04 Dec 2011, Daniel Lezcano wrote: >>> * V3 >>> - removed lock and serialization of pid_ns_reboot >>> * V2 >>> - added a lock for the pid namespace to prevent racy call >>> to the 'reboot' syscall >>> - Moved 'reboot' command assigned in zap_pid_ns_processes >>> instead of wait_task_zombie >>> - added tasklist lock around force_sig >>> - added do_exit in pid_ns_reboot >>> - used task_active_pid_ns instead of declaring a new variable in sys_reboot >>> - moved code up before POWER_OFF changed to HALT in sys_reboot Oleg ? Are you fine with this patch ?