From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754501Ab1JULVw (ORCPT ); Fri, 21 Oct 2011 07:21:52 -0400 Received: from mx2.parallels.com ([64.131.90.16]:39789 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336Ab1JULVw (ORCPT ); Fri, 21 Oct 2011 07:21:52 -0400 Message-ID: <4EA155A8.8010802@parallels.com> Date: Fri, 21 Oct 2011 15:21:12 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Cyrill Gorcunov CC: Tejun Heo , , Andrew Vagin , Pavel Emelyanov , James Bottomley , "H. Peter Anvin" , Ingo Molnar , Dave Hansen , "Eric W. Biederman" , Daniel Lezcano , Alexey Dobriyan , Linus Torvalds , Oleg Nesterov Subject: Re: [patch 5/5] elf: Add support for loading ET_CKPT files References: <20111014110416.552685686@openvz.org> <20111014110511.670174429@openvz.org> <20111014171033.GC4294@google.com> <4EA15224.10102@parallels.com> <20111021112031.GO14464@moon> In-Reply-To: <20111021112031.GO14464@moon> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/21/2011 03:20 PM, Cyrill Gorcunov wrote: > On Fri, Oct 21, 2011 at 03:06:12PM +0400, Glauber Costa wrote: > ... >> exec() is a fundamental interface to the kernel, and the change >> proposed here is too disruptive. Not only that, it is rather >> unannounced: since not always one knows kind of fmt file is being >> exec'd, it gets hard to infer which behavior to expect. >> > > This missed snipped in changelog indeed my very fault, sorry for that. > >> I am wondering, though: if exec is a problem, but the binary handler >> is not, maybe we can exec a process using this handler, and then >> have the handler itself to create the thread hierarchy. This way we >> avoid changing exec() behavior at all, yet achieving the same >> results. >> >> What do you think? >> >> > > Glauber, could you please elaborate, you mean to call for forks inside > elf-chkpt handler, right? Or you mean something else? not fork(), clone().