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

[Xen-devel] query on pinning mechanism


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Pradeep Singh, TLS-Chennai" <pradeep_s@xxxxxx>
  • Date: Tue, 13 Mar 2007 11:02:11 +0530
  • Delivery-date: Mon, 12 Mar 2007 23:11:55 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdlMPNJP6QZIooSSCuMBfinfEiEwg==
  • Thread-topic: query on pinning mechanism


hi all,
After going through the code, this is what i make out of pinning in Xen.
Please correct me if i am wrong.

A page can have mutually exclusive roles in the Xen depending on its current use.
A page can have its reference count incremented or type count incremented depending on its usage to avoid returning it to the pool of free pages and to change its page type.

At times guest wants some of its page tables to exist even after a preemption.So that page tables exist it must not loose its reference count.Pinning makes sure that the page has a usage of 1 atleast for that particular page and avoids that page to be assigned to free pool or reclaimed for a different type. 

Am i right?

Another doubt, Xen guest domains cannot swap pseduo physical memory.Am i right?

Can xen lxr repository on xensource be changed to a more organised way wrt versions ?
linux-2.6.xx-xen etc are there but xen directory is same for all of them.

Can the directories be made version wise with all included sources as they appear on untarring?

Thank you.

--pradeep
-----------------------
Pradeep Singh
Member Technical Staff
Core Technology Divison
53, Greams Road.
HCL Technologies, Chennai

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
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®.