All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: john stultz <johnstul@us.ibm.com>
Cc: linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: [RFC] PATCH 0/4 - Time virtualization
Date: Thu, 13 Apr 2006 21:53:16 -0400	[thread overview]
Message-ID: <20060414015316.GA7723@ccure.user-mode-linux.org> (raw)
In-Reply-To: <1144974688.8548.26.camel@cog.beaverton.ibm.com>

On Thu, Apr 13, 2006 at 05:31:27PM -0700, john stultz wrote:
> Looks interesting. I've never quite understood the need for different
> time domains, it only allows you to run one domain with the incorrect
> time, but I'm sure there is some use case that is desired.

There are a few possible answers -

If when this virtualization stuff is done, no one has done anything with
time, someone is going to moan.

Once in a while, you want to fiddle your system clock to make sure that
a cron job or something does what it's supposed to.

There was some extra infrastructure that UML needed in order to start using
this stuff, so I chose a fairly simple virtualization case to accompany it.

> I'm not psyched about possible namespace vs nanosecond confusion w/
> terms like "time_ns", but that's pretty minor.

Yeah, names can be changed.

> Also I hope you're not wanting to deal w/ NTP adjustments between
> domains that have the incorrect time? That would be very ugly.

No, the domain stores an offset from the system time, so it automatically
gets the system's NTP adjustments.

				Jeff

WARNING: multiple messages have this Message-ID (diff)
From: Jeff Dike <jdike@addtoit.com>
To: john stultz <johnstul@us.ibm.com>
Cc: linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: [RFC] PATCH 0/4 - Time virtualization
Date: Thu, 13 Apr 2006 21:53:16 -0400	[thread overview]
Message-ID: <20060414015316.GA7723@ccure.user-mode-linux.org> (raw)
In-Reply-To: <1144974688.8548.26.camel@cog.beaverton.ibm.com>

On Thu, Apr 13, 2006 at 05:31:27PM -0700, john stultz wrote:
> Looks interesting. I've never quite understood the need for different
> time domains, it only allows you to run one domain with the incorrect
> time, but I'm sure there is some use case that is desired.

There are a few possible answers -

If when this virtualization stuff is done, no one has done anything with
time, someone is going to moan.

Once in a while, you want to fiddle your system clock to make sure that
a cron job or something does what it's supposed to.

There was some extra infrastructure that UML needed in order to start using
this stuff, so I chose a fairly simple virtualization case to accompany it.

> I'm not psyched about possible namespace vs nanosecond confusion w/
> terms like "time_ns", but that's pretty minor.

Yeah, names can be changed.

> Also I hope you're not wanting to deal w/ NTP adjustments between
> domains that have the incorrect time? That would be very ugly.

No, the domain stores an offset from the system time, so it automatically
gets the system's NTP adjustments.

				Jeff


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-04-14  2:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 17:19 [RFC] PATCH 0/4 - Time virtualization Jeff Dike
2006-04-13 17:19 ` [uml-devel] " Jeff Dike
2006-04-14  0:31 ` john stultz
2006-04-14  0:31   ` [uml-devel] " john stultz
2006-04-14  1:53   ` Jeff Dike [this message]
2006-04-14  1:53     ` Jeff Dike
2006-04-14 16:24     ` john stultz
2006-04-14 16:24       ` john stultz
2006-04-19  8:25 ` Eric W. Biederman
2006-04-19  8:25   ` [uml-devel] " Eric W. Biederman
2006-04-26 18:01   ` Jeff Dike
2006-04-26 18:01     ` [uml-devel] " Jeff Dike
2006-04-28 11:33     ` Blaisorblade
2006-04-28 11:33       ` Blaisorblade
2006-04-28 11:48       ` Jeff Dike
2006-04-28 11:48         ` Jeff Dike
2006-04-28 12:14         ` Jeff Dike
2006-04-28 12:14           ` Jeff Dike
2006-04-28 13:54         ` Blaisorblade
2006-04-28 13:54           ` Blaisorblade
2006-04-28 15:15           ` Jeff Dike
2006-04-28 15:15             ` Jeff Dike
2006-04-28 20:10             ` Blaisorblade
2006-04-28 20:10               ` Blaisorblade
2006-04-28 16:18           ` Eric W. Biederman
2006-04-28 16:18             ` Eric W. Biederman
2006-04-14 15:39 Brock, Anthony - NET
2006-04-14 15:33 ` Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060414015316.GA7723@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.