From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [119.145.14.66]) by dpdk.org (Postfix) with ESMTP id 5524958FA for ; Mon, 9 Feb 2015 03:59:16 +0100 (CET) Received: from 172.24.2.119 (EHLO SZXEMA414-HUB.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BBP05353; Mon, 09 Feb 2015 10:59:12 +0800 (CST) Received: from SZXEMA505-MBX.china.huawei.com ([169.254.1.20]) by SZXEMA414-HUB.china.huawei.com ([10.82.72.73]) with mapi id 14.03.0158.001; Mon, 9 Feb 2015 10:55:30 +0800 From: "Zhangkun (K)" To: "dev@dpdk.org" Thread-Topic: the host of MemTotal 132160052 kB reboots with 60000 (2M)hugepages Thread-Index: AdBEE9y2YMvE7eYcR8ex9NzR5n53hg== Date: Mon, 9 Feb 2015 02:55:30 +0000 Message-ID: <0FCB215400789046A95ECE23C3E46C518DBE20B3@szxema505-mbx.china.huawei.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.177.25.235] MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.54D82280.0161, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.20, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ce4fac21d98ac72c23e632999712f67b Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] the host of MemTotal 132160052 kB reboots with 60000 (2M)hugepages 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, 09 Feb 2015 02:59:17 -0000 Hi, I set 60000 (2M)hugepages in the host menu.list config file which is of = 132160052 kB total mem. I write a deamon programmer testing rte_eal_init() = function. When I have added mlockall system calling before rte_eal_init function and = started running the testing deamon, the host reboots. However, the testing = deamon is still running normally when I do not add mlockall system calling. Anyone can explain what happened in the kernel memory, and the relation = between mlockall with mmap(or anonhugepages)?