[dpdk-dev] [PATCH v3] eal: fix create user mem map repeatedly when it exists

Thomas Monjalon thomas at monjalon.net
Tue Oct 20 16:09:04 CEST 2020


16/10/2020 11:28, wangyunjian:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> Currently, a issue that a container has many devices and the
> application will map the same memory many times. The kernel
> driver returns EEXIST as long as there are overlapping memory
> areas. As a result, we repeatedly create new user mem map entry
> for the same memory segment and this will lead to no more space
> for other user mem maps.
> 
> To resolve the issue, add support to remove the same entry in
> the function compact_user_maps().

Sorry I don't understand the explanations above.
Anatoly, please could you help in rewording?





More information about the dev mailing list