Re: [dpdk-dev] [PATCH v4] eal: detach memsegs on cleanup
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-02-11 16:23:58
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-02-11 16:23:58
On Mon, 14 Sep 2020 14:04:05 +0100 Anatoly Burakov [off-list ref] wrote:
Currently, we don't detach the shared memory on EAL cleanup, which leaves the page table descriptors still holding on to the file descriptors as well as memory space occupied by them. Fix it by adding another detach stage that closes the internal memory allocator resource references, detaches shared fbarrays and unmaps the shared mem config. Bugzilla ID: 380 Bugzilla ID: 381 Signed-off-by: Anatoly Burakov <redacted>
Sure looks good. We should put more tests of cleanup in the test suite. Acked-by: Stephen Hemminger <stephen@networkplumber.org> Sorry for the late response been stuck in internal project stuff.