Skip to contentSkip to conversation

XEN: how to fix virtual kernel memory layout

DISCUSSION amit regmi 1 participant 1 message Sep 2, 2008

lore
Share & tools
lore

amit regmi

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel