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 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. The approach I outlined is desirable because it avoids the need to modify any executable pages, so this is not a concern. The point is to create a potentially unbounded number of thunks *without* run-time code generation.

If the file is rewritten on disk, that's already undefined today, so it's not something we need to be concerned with. (Anything which replaces ELF files needs to use the rename-into-place approach anyway.)

Thanks,
Florian

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux