[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.