Re: [uml-devel] Re: [RFC] PATCH 0/4 - Time virtualization

From: Blaisorblade
Date: Fri Apr 28 2006 - 07:33:33 EST


On Wednesday 26 April 2006 20:01, Jeff Dike wrote:
> On Wed, Apr 19, 2006 at 02:25:00AM -0600, Eric W. Biederman wrote:

> > In the case of migration the ugly case to properly handle is the
> > monotonic timer. That needs an offset yet it is absolutely forbidden
> > to provide that offset from the inside. So this is the one namespace
> > that I think is inappropriate to use sys_unshare to create.
> > We need a system call so that we can specify the minimum or the
> > starting monotonic time base.

> For migration, it looks like the container will have to specify the
> time base at creation so that everything in it will have a consistent
> view of time if they get moved around.

> So, maybe it belongs in clone as a "backwards" flag similar to
> CLONE_NEWNS.

I must note that currently every (?) flag allowed for unshare is also allowed
for clone, so you need to do that anyway.

--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-
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/