All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Jacob Gorm Hansen <jacobg@diku.dk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Small address spaces patch for Xen
Date: Fri, 29 Apr 2005 14:45:27 -0700	[thread overview]
Message-ID: <4272AAF7.20208@diku.dk> (raw)
In-Reply-To: <4272A7ED.1020108@diku.dk>

Jacob Gorm Hansen wrote:
> Hi,
> 
> attached is my patch for xen and xenlinux to enable small address 
> spaces. To use this, you will need a purpose-built user space for dom0, 
> available through the link below. Unpack this in an empty partition, on 
> a ramdisk, or export it as an nfsroot. Remember to add init=/linuxrc to 
> your dom0 kernel commandline.
> 

And by the way, if you have HT please remember to run xen with the 
'noht' option if you want to see anything change.

Also, in xen/arch/x86/domain.c, if you #define the symbol SW_PERF, you 
will get periodic printk's telling you how many TLB flushes you save 
with this print:

printk("tot %d free %d update %d flush %d\n",sw_total, sw_free, 
sw_update, sw_flush);

'tot' is the total amount of context switches, 'update' is the number of 
pgd-cache updates (memcpys), and 'flush' is the total amount of TLB flushes.

'free' is total/2, and not really interesting as the other half is also 
free.

Jacob

      reply	other threads:[~2005-04-29 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 21:32 Small address spaces patch for Xen Jacob Gorm Hansen
2005-04-29 21:45 ` Jacob Gorm Hansen [this message]

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=4272AAF7.20208@diku.dk \
    --to=jacobg@diku.dk \
    --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.