[CRIU] [PATCH 5/5] shm: Fix one task shmem remaps restore

Pavel Emelyanov xemul at parallels.com
Wed Mar 21 11:41:56 EDT 2012


Since the collect_shmems updates start address for vmas, for
two shared mappings in one task we'll try to dup() the 1st
restoration attempt, since the si's start will be set to the
2nd one, which is not yet restored.

Thus we should map-and-open the first one being restored, not
the one with matched address and dup() all the rest.


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>

---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-FIX.patch
Type: text/x-patch
Size: 455 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120321/f1633474/0005-FIX-0001.bin


More information about the CRIU mailing list