All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Gerd Knorr <kraxel@bytesex.org>
Subject: Re: address space reorganization
Date: Wed, 13 Apr 2005 20:08:00 -0700	[thread overview]
Message-ID: <425DDE90.4070702@diku.dk> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B54@liverpoolst.ad.cl.cam.ac.uk>

Ian Pratt wrote:

> That works OK for the kernel, but you might have user space apps that
> have adapted their behviour based on what the've found in /proc/cpuinfo.

A compromise then would be to lie to userspace and still recalibrate the 
kernel.

> A particularly nasty case is apps or libraries that go at 'cpuid'
> directly, as we can't trap that instruction. I guess VMware have the
> same problem, as I don't believe they translate ring 3 code.

Yeah, nothing we can do there really, except tell people not to :-(

> As regards your proposed critical region, we already effectively do
> this.  We don't recalibrate stuff after a migration yet though (some of
> the tests are quite slow, so I'm not sure you'd want to do them all
> anyhow).

Could perhaps do them in advance, or during the pre-copy phase as they 
are likely to stay constant for the lifetime of the machine, but that 
demands that the receiving side knows what you are looking for.
My system uploads a bootstrapper to the target VM in advance, so I could 
have this info ready when the rest of the OS arrives.

Jacob

  reply	other threads:[~2005-04-14  3:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14  2:26 address space reorganization Ian Pratt
2005-04-14  3:08 ` Jacob Gorm Hansen [this message]
2005-04-14  3:14   ` Kip Macy
2005-04-14  3:38     ` Jacob Gorm Hansen
2005-04-14 16:00       ` Adam Heath
2005-04-14 17:54     ` Rik van Riel
2005-04-14 18:15       ` Kip Macy
2005-04-14 18:20         ` Rik van Riel
  -- strict thread matches above, loose matches on Subject: below --
2005-04-14 19:03 Ian Pratt
2005-04-19 19:52 ` Chris Wedgwood
2005-04-13 17:59 Gerd Knorr
2005-04-13 19:29 ` Keir Fraser
2005-04-14  1:45   ` Keir Fraser
2005-04-14  2:18     ` Jacob Gorm Hansen

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=425DDE90.4070702@diku.dk \
    --to=jacobg@diku.dk \
    --cc=kraxel@bytesex.org \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /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.