All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zachary Amsden <zamsden@cisco.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net, Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Subject: Re: Re: "Barry Silverman": Setting GDT entries for Thread Local Storage
Date: Tue, 10 Feb 2004 11:33:16 -0800	[thread overview]
Message-ID: <402931FC.6000106@cisco.com> (raw)
In-Reply-To: <E1AqcLS-0000U3-00@wisbech.cl.cam.ac.uk>

Keir Fraser wrote:

>The vsyscall interface happens to sit at the top of virtual memory in
>native Linux, I think mainly because the vsyscall page is allocated
>using the Linux 'fixmap' mechanism.
>  
>
>However, the address of the vsyscall interface is passed to
>applications as part of the ELF-loading protocol. It should therefore
>be possible to map the vsyscall stubs to a different virtual address
>in Xenolinux (Fingers crossed!).
>  
>
I think that might work, but it seems somewhat unnecessary.  Does Xen 
use the very top part of VM space for any special purpose - e.g. stack?  
Why not just make Xen itself a kernel fixmap entry to avoid collisions?

>I hope we don't have to go down a 'map Xen to guest-specific location'
>kind of route. I think that position-independent code in x86 is likely
>to perform below-par (no PC-relative addressing; allocating a base
>register is painful on a register-starved architecture).
>  
>
Not to mention having to deal with relocatable pointers across different 
domains!  Ugh.

Zachary Amsden
zamsden@cisco.com


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  parent reply	other threads:[~2004-02-10 19:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1AqGel-0004YN-00@wisbech.cl.cam.ac.uk>
2004-02-09 19:38 ` "Barry Silverman": Setting GDT entries for Thread Local Storage Keir Fraser
2004-02-10 17:49   ` Zachary Amsden
2004-02-10 18:10     ` Keir Fraser
2004-02-10 18:19       ` Keir Fraser
2004-02-10 19:33       ` Zachary Amsden [this message]
2004-02-11  2:38   ` Barry Silverman
2004-02-11  8:10     ` Keir Fraser

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=402931FC.6000106@cisco.com \
    --to=zamsden@cisco.com \
    --cc=Ian.Pratt@cl.cam.ac.uk \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-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.