title: No free hugepages reported in hugepages when running DPDK helloworld example
body: <p>I downloaded and built dpdk-stable-16.11.4 version (using the x86_64-native-linuxapp-gcc target). I'm running Ubuntu 16.04.3 LTS. After setting up hugepages according to <a href="http://dpdk.org/doc/quick-start" rel="nofollow noreferrer">http://dpdk.org/doc/quick-start</a> or <a href="http://dpdk.org/doc/guides-16.04/linux_gsg/sys_reqs.html" rel="nofollow noreferrer">http://dpdk.org/doc/guides-16.04/linux_gsg/sys_reqs.html</a></p>
  
  <pre><code>mkdir -p /mnt/huge
  mount -t hugetlbfs nodev /mnt/huge
  echo 64 &gt; /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
  </code></pre>
  
  <p>I can see the hugepages fine.</p>
  
  <pre><code>cat /proc/meminfo | grep Huge
  
      HugeAnonHugePages:    284672 kB
      ShmemHugePages:        0 kB
      HugePages_Total:      64
      HugePages_Free:       64
      HugePages_Rsvd:        0
      HugePages_Surp:        0
      Hugepagesize:       2048 kB
  </code></pre>
  
  <p>But when I run the helloWorld example, it complained about no free hugepages, see below.</p>
  
  <pre><code>./build/helloworld -l 0-3 -n 2
  EAL: Detected 4 lcore(s)
  EAL: No free hugepages reported in hugepages-1048576kB
  EAL: Probing VFIO support...
  hello from core 1
  hello from core 2
  hello from core 3
  hello from core 0
  </code></pre>
  
  <p>Also, the memory info showed free hugepages were all gone.</p>
  
  <pre><code>cat /proc/meminfo | grep Huge
  
      AnonHugePages:    380928 kB
      ShmemHugePages:        0 kB
      HugePages_Total:      64
      HugePages_Free:        0
      HugePages_Rsvd:        0
      HugePages_Surp:        0
      Hugepagesize:       2048 kB
  </code></pre>
  
  <p>Any idea why this is happening?</p>