|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: A race condition in xenlinux exit_mmap
On 1 Aug 2006, at 11:39, Li, Xin B wrote:
Do you mind creating a patch to do this? I can send you more
details if you like.
Sure, pls send more info on this.
1. Add an 'int has_foreign_mappings' to mmu_context structure
2. Ensure the field is initialised in init_new_context() (e.g.,
memset-zero the whole structure; already done on x86/64)
3. Set the field in direct_remap_pfn_range()
4. Check the field in _arch_exit_mmap() to avoid calling mm_unpin().
That's it. Just needs testing.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|