Branch: refs/heads/master
Home: https://github.com/OpenDataPlane/odp
Commit: 5ccc27cf77c936460b265c973a531a04b7a74014
https://github.com/OpenDataPlane/odp/commit/5ccc27cf77c936460b265c973a531a04b7a74014
Author: Matias Elo <[email protected]>
Date: 2019-02-19 (Tue, 19 Feb 2019)
Changed paths:
M platform/linux-generic/odp_ishm.c
Log Message:
-----------
linux-gen: shm: replace ftruncate() with fallocate()
fallocate() reserves required memory at call time, so out of memory
failures are easier to detect.
Signed-off-by: Matias Elo <[email protected]>
Reviewed-by: Petri Savolainen <[email protected]>