From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [Devel] [RFC PATCH 0/5] Resend -v2 - Use procfs to change a syscall behavior Date: Wed, 09 Jul 2008 17:43:04 -0700 Message-ID: References: <20080708112422.164370000@bull.net> <20080709221028.GA4926@martell.zuzino.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080709221028.GA4926-QDJVlCTZ4KWTKS93B3g+7KFoa47nwP16@public.gmane.org> (Alexey Dobriyan's message of "Thu, 10 Jul 2008 02:10:28 +0400") 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: Alexey Dobriyan Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Nadia.Derbey-6ktuUTfB/bM@public.gmane.org List-Id: containers.vger.kernel.org Alexey Dobriyan writes: > On Tue, Jul 08, 2008 at 01:24:22PM +0200, Nadia.Derbey-6ktuUTfB/bM@public.gmane.org wrote: >> # echo "LONG1 XX" > /proc/self/task//next_syscall_data > > Same stuff. > > There is struct task_struct::did_exec , what about it? > > Also, patches are about de-serializing, how serializing from userspace looks > like? > You freezed group of processes, then what? > > How, for example, dump all VMAs correctly? > [prepares counter-example] Alexey userspace vs a kernel space implementation is the wrong argument. It is clearly established that the current user space interfaces are insufficient to do the job. So we need to implement something in the kernel. Further I have heard of no one suggesting running a single kernel on multiple machines. Therefore there no one seems to be doing this entirely in the kernel and so we need a user space component. So the question should not be user space vs. kernel space but can we build clean interfaces for checkpoint/restart? What will those interfaces be? Although I think it is good that we are seeing more people play with this as that should mean that our pool of people for doing code review on the implementation should be reasonable. Eric