WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] XEN: how to fix virtual kernel memory layout

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] XEN: how to fix virtual kernel memory layout
From: "amit regmi" <regmi.amit@xxxxxxxxx>
Date: Mon, 1 Sep 2008 21:45:35 -0400
Delivery-date: Mon, 01 Sep 2008 18:45:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=FSbV6OH1KXb+bjthchr8ZE8X3tgvMSEhv7ZCIYmhx4k=; b=IIlCaa6kwzWF4lWFTCr8zJfLN0IKtCPWyBexilgohUPopS7qvt6G0TuTfhkc9faSjy VIiBQtXU4i/q8FT424g4pDNDhI8dqcBx+Qn0fFtRAgC9Gor1A4W+RpXMieSevjy5M2XJ CXPhcnkXdfXaN3+LLtbVMYjdCBaqtYbbo0QI8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=M39rF7EWnZh/azXVRamaDFYOvteClmJczujJ8hhqWIT0kcnqSmJ4ZESHSGW6Baw/p+ NUmhEMI1mXjc5R2mKCkwRL0oki82vQFl7kH7DqGacCC9VDM5p/9pp1fZM1l1hS6sGXNR FO8/MqJIKKnLZB2JPSQV0t4OEU2wD5pCcRA7Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
I installed xen-server using " sudo apt-get install " and I got the
following virtual memory layout on my system.

  [    0.515286] virtual kernel memory layout:
  [    0.515287]     fixmap  : 0xf568f000 - 0xf57ff000   (1472 kB)
  [    0.515288]     pkmap   : 0xf5400000 - 0xf5600000   (2048 kB)
  [    0.515289]     vmalloc : 0xee000000 - 0xf53fe000   ( 115 MB)
  [    0.515290]     lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
  [    0.515291]       .init : 0xc03f3000 - 0xc0425000   ( 200 kB)
  [    0.515292]       .data : 0xc0305f6e - 0xc03ed544   ( 925 kB)
  [    0.515293]       .text : 0xc0100000 - 0xc0305f6e   (2071 kB)

I compiled 2.6.26 kernel from Kernel.org and enabled XEN, with the following
.config parameters,

CONFIG_HIGHMEM64G=y
CONFIG_XEN=y
x86_32=y
CONFIG_PARAVIRT_GUEST=y
X86_CMPXCHG=y
X86_TSC=y
X86_PAE=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_VISWS is not set

I want the above virtual memory layout from the compiled kernel but I get

[   27.546614]     fixmap  : 0xfff4d000 - 0xfffff000   ( 712 kB)
[   27.546615]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   27.546616]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   27.546617]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   27.546618]       .init : 0xc03e3000 - 0xc043e000   ( 364 kB)
[   27.546619]       .data : 0xc02f7e86 - 0xc03dce84   ( 915 kB)
[   27.546620]       .text : 0xc0100000 - 0xc02f7e86   (2015 kB)

Will there be something extra I need to do ?
Moreover, can the 168M memory hole that gets created for the hypervisor be used
in the kernel space ??

Thanks in advance,
-Regmee




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] XEN: how to fix virtual kernel memory layout, amit regmi <=