Re: What can OpenVZ do?

From: Dave Hansen
Date: Tue Feb 17 2009 - 19:40:56 EST


On Wed, 2009-02-18 at 01:32 +0100, Ingo Molnar wrote:
> > > Uncheckpointable should be a one-way flag anyway. We want this
> > > to become usable, so uncheckpointable functionality should be as
> > > painful as possible, to make sure it's getting fixed ...
> >
> > Again, as these patches stand, we don't support checkpointing
> > when non-simple files are opened. Basically, if a
> > open()/lseek() pair won't get you back where you were, we
> > don't deal with them.
> >
> > init does non-checkpointable things. If the flag is a one-way
> > trip, we'll never be able to checkpoint because we'll always
> > inherit init's ! checkpointable flag.
> >
> > To fix this, we could start working on making sure we can
> > checkpoint init, but that's practically worthless.
>
> i mean, it should be per process (per app) one-way flag of
> course. If the app does something unsupported, it gets
> non-checkpointable and that's it.

OK, we can definitely do that. Do you think it is OK to run through a
set of checks at exec() time to check if the app currently has any
unsupported things going on? If we don't directly inherit the parent's
status, then we need to have *some* time when we check it.

-- Dave

--
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/