From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tetsuya.Mukawa" Subject: Re: Are there considerations about resource recycling by the process, not by the OS? Date: Fri, 05 Sep 2014 18:32:05 +0900 Message-ID: <54098315.6080107@igel.co.jp> References: <0FCB215400789046A95ECE23C3E46C515F958EDB@szxema505-mbx.china.huawei.com> <0FCB215400789046A95ECE23C3E46C515F958EFE@szxema505-mbx.china.huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Zhangkun (K)" Return-path: In-Reply-To: <0FCB215400789046A95ECE23C3E46C515F958EFE-mfeVThRg90OEZbDCDsDlKQK1hpo4iccwjNknBlVQO8k@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Zhangkun, Do you talk about resource management of DPDK when a process is finished?= If so, I guess DPDK doesn't care so much about freeing resources once allocated by the process. For example, there is no function to free a mempool. Thanks, Tetsuya (2014/09/05 12:39), Zhangkun (K) wrote: > Hi, > Yes, the program is running as root. > I want to know if or not the DPDK Community considers about resourc= e recycling. > > From: Masaru Oki [mailto:m-oki-kJJssGRo5Gr08ZWpFnN8/c8NsWr+9BEh@public.gmane.org] > Date: 2014=E5=B9=B49=E6=9C=885=E6=97=A5 11:18 > To: Zhangkun (K) > Cc: dev-VfR2kkLFssw@public.gmane.org > Subject: Re: [dpdk-dev] Are there considerations about resource recycli= ng by the process, not by the OS? > > Hi, > > you may try > $ gdb your_program > gdb> b rte_panic > gdb> run > stopped at rte_panic > gdb> bt > > sorry, it is not answer for your question. > by the way, do you run the program as root? > > > 2014-09-05 12:07 GMT+09:00 Zhangkun (K) >: > Hi, > I develop the program with the use of dpdk and the process is core d= ump when the program is started. > The process is crash in case of initing memory failed and calling rte_p= anic function. > I search all rte_panic function in the dpdk, and find it so many. Ther= efore, in case the pr ocess happen fail, > it will abort. The resource allocated before is not released by the pro= cess, but by the OS system. > So I have a question: Are there considerations about resource recycling= by the process, not by the OS ? >