Re: [patch 5/5] elf: Add support for loading ET_CKPT files

From: Cyrill Gorcunov
Date: Wed Oct 19 2011 - 15:56:41 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/