On 09/09/2016 01:19 AM, Xiao Guangrong wrote: > > Yes. I was talking the case as follows: > 1: read() #1: prints vma-A(0x1000 -> 0x2000) > 2: unmap vma-A(0x1000 -> 0x2000) > 3: create vma-B(0x80 -> 0x3000) on other file with different permission > (w, r, x) > 4: read #2: prints vma-B(0x2000 -> 0x3000) > > Then userspace will get just a portion of vma-B. well, maybe it is not > too bad. :) Yeah, I think this is the way to go. Feel free to add my ack. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html