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 E1C2E5597 for ; Mon, 22 Feb 2016 14:18:48 +0100 (CET) Received: from rrcs-98-101-135-211.midsouth.biz.rr.com ([98.101.135.211] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1aXqNu-0002W0-EJ; Mon, 22 Feb 2016 08:18:45 -0500 Date: Mon, 22 Feb 2016 08:18:25 -0500 From: Neil Horman To: "Tan, Jianfeng" 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 Content-Disposition: inline In-Reply-To: <56CAA5F3.8050501@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: make resource initialization more robust 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: Mon, 22 Feb 2016 13:18:49 -0000 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 > >