Re: COW userspace memory mapping question

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

 



On Tue, 8 Mar 2011, Mordae wrote:

> first let me apologize if I've picked a wrong address.

Its probably more an issue of us understanding what you want.

> Question: Is it possible to create a copy-on-write copy
>           of a MAP_PRIVATE|MAP_ANONYMOUS memory mapping
>           in the user space? Effectively a snapshot of
>           memory region.

fork() and clone() can do this.

>           I understand that clone() optionally does this
>           on much larger scale, but that's not really it.

Ok let say you have a memory range in the address space from which you
want to take a snapshot. How is that snapshot data visible? To another
process? Via a file?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
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]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]