Re: [patch] mremap.2: Add description of old_size == 0 functionality

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

 



On 09/25/2017 04:52 PM, Michal Hocko wrote:
On Mon 25-09-17 15:16:09, Florian Weimer wrote:
On 09/25/2017 02:52 PM, Michal Hocko wrote:
So, how are you going to deal with the CoW and the implementation which
basically means that the newm mmap content is not the same as the
original one?

I don't understand why CoW would kick in.

So you can guarantee nobody is going to write to that memory?

It's mapped readable and executable, but not writable. So the only thing that could interfere would be a debugger.

Thanks,
Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux