From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: [PATCH] add free hugepage function Date: Wed, 29 Oct 2014 20:23:25 -0700 Message-ID: <20141030032324.GC3286@mhcomputing.net> References: <1414551269-5820-1-git-send-email-haifeng.lin@huawei.com> <533710CFB86FA344BFBF2D6802E60286C7CAAB@SHSMSX101.ccr.corp.intel.com> <20141029034437.GA29486@mhcomputing.net> <533710CFB86FA344BFBF2D6802E60286C7CB42@SHSMSX101.ccr.corp.intel.com> <54508DE1.9090908@huawei.com> <20141029102635.GB8292@BRICHA3-MOBL> <20141029142745.GA14253@localhost.localdomain> <682698A055A0F44AA47192B20141149711B6074C@BGSMSX102.gar.corp.intel.com> <20141029153212.GB14253@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Neil Horman Return-path: Content-Disposition: inline In-Reply-To: <20141029153212.GB14253-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@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" On Wed, Oct 29, 2014 at 11:32:12AM -0400, Neil Horman wrote: > > > Well, abnormal termination results in abnormal consequences. You expect > garbage to get left behind of a program crashes, so I wouldn't really worry > about that too much. If you really wanted to you can register chained handlers > for SIGSEGV/SIGBUS/etc to catch those conditions, but honestly, that seems like > overkill. If a program that uses shared resources terminates abnormally, its > well understood that those shared resources may not get released properly, and > manual intervention is required to clean them up > > Neil Perhaps true. But also one of the top irritations with POSIX SHMEM. ;)