xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Memory sharing, is it possible a page is freed in DomU on its way to be shared?
@ 2011-04-19 13:26 MaoXiaoyun
  2011-04-19 14:46 ` pengfei zhang
  2011-04-20  9:25 ` Tim Deegan
  0 siblings, 2 replies; 5+ messages in thread
From: MaoXiaoyun @ 2011-04-19 13:26 UTC (permalink / raw)
  To: xen devel; +Cc: george.dunlap, tim.deegan, juihaochiang


[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]


Hi:
 
      Just come up this question.
 
      Say a process in domU read IO, then blkfront driver will have a new page prepared to 
fill the IO data. The blkfront pass the gref to blkback in dom0, later passed  to blktap, then
forward to  tapdisk for physical IO read, in memory sharing, the gref may be nominate to 
Xen for page sharing again( say this is sharing step). 
 
      My question is, it is possible during the IO data comes back from tapdisk, the page 
referred by gerf in domU could be freed? (maybe by process termination, or blkfront free this page)
 
     And if it is possible, then the page is free in domU, it is also possible that the page be given
back to Xen through ballloon driver, and the P2M will be invaild.  This may make *sharing step* 
gfn points to a invalid mfn possible.
 
     So is this possible happen?
 
     thanks.
    
 
     
 
 
      		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1526 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-20  9:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-19 13:26 Memory sharing, is it possible a page is freed in DomU on its way to be shared? MaoXiaoyun
2011-04-19 14:46 ` pengfei zhang
2011-04-20  3:15   ` Jui-Hao Chiang
2011-04-20  9:28     ` Tim Deegan
2011-04-20  9:25 ` Tim Deegan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).