From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gorm Hansen Subject: Re: Small address spaces patch for Xen Date: Fri, 29 Apr 2005 14:45:27 -0700 Message-ID: <4272AAF7.20208@diku.dk> References: <4272A7ED.1020108@diku.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4272A7ED.1020108@diku.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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