From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tan, Jianfeng" Subject: Re: [PATCH] eal: make resource initialization more robust Date: Mon, 22 Feb 2016 14:08:51 +0800 Message-ID: <56CAA5F3.8050501@intel.com> References: <1453661393-85704-1-git-send-email-jianfeng.tan@intel.com> <1454066522-80045-1-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org, nhorman@tuxdriver.com Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E11B23195 for ; Mon, 22 Feb 2016 07:08:54 +0100 (CET) In-Reply-To: <1454066522-80045-1-git-send-email-jianfeng.tan@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" 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? Thanks, Jianfeng