From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753244Ab1JST4j (ORCPT ); Wed, 19 Oct 2011 15:56:39 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:33237 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752527Ab1JST4i (ORCPT ); Wed, 19 Oct 2011 15:56:38 -0400 Date: Wed, 19 Oct 2011 23:56:32 +0400 From: Cyrill Gorcunov To: Tejun Heo Cc: Pavel Emelyanov , "linux-kernel@vger.kernel.org" , Andrey Vagin , James Bottomley , Glauber Costa , "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 Message-ID: <20111019195632.GB14464@moon> References: <20111014110416.552685686@openvz.org> <20111014110511.670174429@openvz.org> <20111014171033.GC4294@google.com> <20111014173304.GD4294@google.com> <4E9E9255.7090601@parallels.com> <20111019182228.GJ25124@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111019182228.GJ25124@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2011 at 11:22:28AM -0700, Tejun Heo wrote: > Hello, Pavel. > > On Wed, Oct 19, 2011 at 01:03:17PM +0400, Pavel Emelyanov wrote: > > > I don't think this is a good idea. We already have most of interface > > > necessary for restoring task state and there's no need to put it into > > > the kernel as one piece. If there's something which can't be done > > > from userland using existing interfaces, let's please discuss what > > > they are and whether they can be resolved differently first. > > > > The rest API we will require will look too special-purpose (like Cyrill > > mentioned the ability to set the mm's fields such as start_code, etc). > > I find that quite difficult to agree with. We're talking about some > minor additions to prctl against updating exec path to do something it > was never designed to do + new binary format. Tejun, regardless the mm_struct entries, what about mapping vdso pages at the place they had on snapshot time? How would we handle them? Cyrill