mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
Instead of open coding the same ioctl twice we can put it in a loop from which we break out once we have allocated enough space for all objects. While at it we add error handling for the memory allocation. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-By: David Francis <David.Francis@amd.com> --- v2: * s/for(;;)/while(1)/ (David) |
||
|---|---|---|
| .. | ||
| amdgpu | ||
| cuda | ||