Re: Host memory map in a Xen-enabled kernel

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

 



perhaps not what you are expecting but here are some hints, because I
do not remember the files and exact macros :).
Hello,

Xen itself does not modify the memory split for the guest kernels(
both dom0 and domU).
So in guest kernel the split it still 3:1.

but xen behind the scences tricks the guest kernels by using
segmentation to segregate its own memory from the guest kernels. How?
See how memory descriptors are set and used in x86 arch when
segmentation is used.

HTH

Thanks,
    --Pradeep

On Wed, Aug 27, 2008 at 12:30 PM, Mayank Kaushik
<mayank.utexas@xxxxxxxxx> wrote:
> Hi All,
>
> I'm a complete n00b to Xen. I'm trying to figure out what the
> user/kernel memory split is in a Xen-enabled kernel. In a non-Xen
> kernel, PAGE_OFFSET tells me where the kernel virtual address space
> starts, and TASK_SIZE tells me where the user virtual-address space
> ends. When Xen is installed, does it modify the memory map of the host
> kernel? If yes, what kernel symbols can I use to get these values, as
> applicable to a user-space app running directly on a Xen-enabled
> kernel (*not* in a guest OS).
>
> Thanks for your help!
> Mayank
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
play the game

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux