On 10/16, Srikar Dronamraju wrote: > > * Oleg Nesterov <[email protected]> [2013-10-13 21:18:44]: > > > We know that this vaddr is fine for install_special_mapping(), the > > necessary hole was recently "created" by dup_mmap() which skips the > > parent's VM_DONTCOPY area, and nobody else could use the new mm. > > > I was actually thinking if we can remove the VM_DONTCOPY from > install_special_mapping,
I considered this option. I even thought about playing with vm_flags in uprobe_start/stop_dup_mmap ;) > But there are obvious issues with that approach and we simply can't do this. Unlike, say, vdso xol vma can not be cloned automatically, we obviously can't use the same area->page. Plus we need to dup area itself, at least for ->bitmap. > Acked-by: Srikar Dronamraju <[email protected]> Thanks! Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

