DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhangkun (K)" <zhang.zhangkun@huawei.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] the host of MemTotal 132160052 kB reboots with 60000 (2M)hugepages
Date: Mon, 9 Feb 2015 02:55:30 +0000	[thread overview]
Message-ID: <0FCB215400789046A95ECE23C3E46C518DBE20B3@szxema505-mbx.china.huawei.com> (raw)

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)?

                 reply	other threads:[~2015-02-09  2:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0FCB215400789046A95ECE23C3E46C518DBE20B3@szxema505-mbx.china.huawei.com \
    --to=zhang.zhangkun@huawei.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).