From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 21 Feb 2016 22:08:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,483,1449561600"; d="scan'208";a="656948352" Received: from shwdeisgchi083.ccr.corp.intel.com (HELO [10.239.67.119]) ([10.239.67.119]) by FMSMGA003.fm.intel.com with ESMTP; 21 Feb 2016 22:08:53 -0800 To: dev@dpdk.org, nhorman@tuxdriver.com References: <1453661393-85704-1-git-send-email-jianfeng.tan@intel.com> <1454066522-80045-1-git-send-email-jianfeng.tan@intel.com> From: "Tan, Jianfeng" Message-ID: <56CAA5F3.8050501@intel.com> Date: Mon, 22 Feb 2016 14:08:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1454066522-80045-1-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 06:08:55 -0000 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