WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: A race condition in xenlinux exit_mmap


On 1 Aug 2006, at 11:24, hanzhu wrote:

Why not just reuse VM_FOREIGN(blktap uses this flag to represent foreign mapped vma) flag to unmap the foreign mapped pages before call arch_exit_mmap? This could be a simple alternative.

VM_FOREIGN has its own semantics (e.g., need to fill in vma->vm_private_data appropriately). A mm-wide flag in mmu_context would be quite simple to add, and also entirely hidden in arch code. It's then easily removed when we implement a solution based on software bits in PTEs.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>