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

[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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.