Re: [dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-04-07 Thread David Marchand
On Thu, Apr 1, 2021 at 1:07 PM Burakov, Anatoly wrote: > > On 22-Feb-21 10:41 AM, Roy Shterman wrote: > > When using huge_unlink we unlink the segment right > > after allocation. Although we unlink the file we keep > > the fd in fd_list so file still exist just the path deleted. > > When freeing t

Re: [dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-04-01 Thread Burakov, Anatoly
On 22-Feb-21 10:41 AM, Roy Shterman wrote: When using huge_unlink we unlink the segment right after allocation. Although we unlink the file we keep the fd in fd_list so file still exist just the path deleted. When freeing the hugepage we need to close the fd and assign it with (-1) in fd_list for

Re: [dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-03-01 Thread Burakov, Anatoly
On 28-Feb-21 1:21 PM, Roy Shterman wrote: On Mon, Feb 22, 2021 at 5:53 PM Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 22-Feb-21 10:41 AM, Roy Shterman wrote: > When using huge_unlink we unlink the segment right > after allocation. Although we unlink the file w

Re: [dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-02-28 Thread Roy Shterman
On Mon, Feb 22, 2021 at 5:53 PM Burakov, Anatoly wrote: > On 22-Feb-21 10:41 AM, Roy Shterman wrote: > > When using huge_unlink we unlink the segment right > > after allocation. Although we unlink the file we keep > > the fd in fd_list so file still exist just the path deleted. > > When freeing t

[dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-02-23 Thread Roy Shterman
When using huge_unlink we unlink the segment right after allocation. Although we unlink the file we keep the fd in fd_list so file still exist just the path deleted. When freeing the hugepage we need to close the fd and assign it with (-1) in fd_list for the page to be released. The current flow f

Re: [dpdk-dev] [PATCH] mem: fix free segment when using huge-unlink option

2021-02-22 Thread Burakov, Anatoly
On 22-Feb-21 10:41 AM, Roy Shterman wrote: When using huge_unlink we unlink the segment right after allocation. Although we unlink the file we keep the fd in fd_list so file still exist just the path deleted. When freeing the hugepage we need to close the fd and assign it with (-1) in fd_list for