From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [PATCH] eal: make resource initialization more robust Date: Mon, 22 Feb 2016 08:18:25 -0500 Message-ID: <20160222131825.GA11358@neilslaptop.think-freely.org> References: <1453661393-85704-1-git-send-email-jianfeng.tan@intel.com> <1454066522-80045-1-git-send-email-jianfeng.tan@intel.com> <56CAA5F3.8050501@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: "Tan, Jianfeng" Return-path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id E1C2E5597 for ; Mon, 22 Feb 2016 14:18:48 +0100 (CET) Content-Disposition: inline In-Reply-To: <56CAA5F3.8050501@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Feb 22, 2016 at 02:08:51PM +0800, Tan, Jianfeng wrote: > Hi Neil, > > Sorry that for my previous misconfiguration of email agent, I missed this > email. > > >This looks alot better. One minor comment, the sigbus handler, you should > >probably store the previous bus handler and restore it after you map all > >the > >hugepages you want (lest you overwrite something an application is doing > >with > >sigbus). > > > > I did not catch your point. I did store it "static struct sigaction > action_old" and recover it after mapping all the hugepages. Can you give > more details on this? > Nope, I can't because I missed the fact you had done that. Apologies, it looks good. Acked-by: Neil Horman > Thanks, > Jianfeng > >