Tianyang(Tom) Zhang

Results 13 comments of Tianyang(Tom) Zhang

Same here on Ubuntu 22: ``` root@ip-172-31-3-103:/home/tomz# hipcc -O2 -g -o ./test_app ./amd_test.cc -I/opt/rocm/include -L/opt/rocm/lib -L/opt/rocm/llvm/lib In file included from :1: In file included from /opt/rocm-6.0.0/lib/llvm/lib/clang/17.0.0/include/__clang_hip_runtime_wrapper.h:50: /opt/rocm-6.0.0/lib/llvm/lib/clang/17.0.0/include/cuda_wrappers/cmath:27:15: fatal error: 'cmath'...

installing `libstdc++-12-dev` via apt works for me! Thanks for helping!

> @Tianyang-Zhang Would you be able to share an example code snippet for a test program that could be used to reproduce this problem? Sure, here is a minimal test...

> Would it be possible to confirm if the memory utilization remains increased after the checkpoint has been created, or it is increased only when criu dump is running? @rst0git...

It looks like this is the cause of why `vmsplice()` triggers the COW: https://lwn.net/Articles/849638/

> I don't see a better solution rather than to use write instead of vmsplice. Could you try out the next patch: I just tried the patch and the COW...

> could you verify that you can reproduce the issue on a non-rhel kernel? @avagin I tried on a Ubuntu host with 5.15 kernel, and the issue is gone. I...

> the mappings are private (MAP_PRIVATE) and child processes created by fork() inherit copies of these mappings Is there any plan to support the `MAP_PRIVATE` case in the future? Or...

Hi, could you please confirm if there is a plan to support the `MAP_PRIVATE` case? We can conclude and close the issue after that last question, thanks!