[dpdk-dev] [PATCH v4] eal: detach memsegs on cleanup

Stephen Hemminger stephen at networkplumber.org
Thu Feb 11 17:23:45 CET 2021


On Mon, 14 Sep 2020 14:04:05 +0100
Anatoly Burakov <anatoly.burakov at intel.com> 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 <anatoly.burakov at intel.com>

Sure looks good. We should put more tests of cleanup
in the test suite.


Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Sorry for the late response been stuck in internal project stuff.


More information about the dev mailing list