|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |