From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 3C6016835 for ; Thu, 30 Oct 2014 11:10:16 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Xjmok-00041B-CF; Thu, 30 Oct 2014 06:19:06 -0400 Date: Thu, 30 Oct 2014 06:18:56 -0400 From: Neil Horman To: Matthew Hall Message-ID: <20141030101856.GA24783@hmsreliant.think-freely.org> 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> <20141030032324.GC3286@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141030032324.GC3286@mhcomputing.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] add free hugepage function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 10:10:16 -0000 On Wed, Oct 29, 2014 at 08:23:25PM -0700, Matthew Hall wrote: > 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. ;) > POSIX shared memory defines IPC_RMID for exactly that purpose.