[CRIU] [PATCH cr 1/7] zdtm: add new test case for testing shared memory

Andrey Vagin avagin at openvz.org
Mon Mar 19 11:49:57 EDT 2012


* map a big memory region
* fork
* unmap the first and tenth pages
* remap one page in another place
* touch a few pages
* check content of touched pages

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm/live/static/Makefile |    1 +
 test/zdtm/live/static/maps01.c |  119 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+), 0 deletions(-)
 create mode 100644 test/zdtm/live/static/maps01.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zdtm-add-new-test-case-for-testing-shared-memory.patch
Type: text/x-patch
Size: 2912 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120319/1ecb6035/0001-zdtm-add-new-test-case-for-testing-shared-memory.bin


More information about the CRIU mailing list