mem: search only dpdk hugetlbfs maps
authorVlad Zolotarov <vladz@cloudius-systems.com>
Tue, 23 Dec 2014 17:23:17 +0000 (19:23 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 15 Jan 2015 12:41:39 +0000 (13:41 +0100)
commit8cf8fe6c3e55055d89bd9b7e4d288d8148f54dc6
tree75dd45792079e08d4f7ef3afdc3f2214de4dff92
parent8d62edecaafee5e72b5bb5bd945e757215354624
mem: search only dpdk hugetlbfs maps

When scanning the hugetlbfs maps search only for the DPDK maps.
This will allow the application create its own hugetlbfs mappings
and use the DPDK facilities on the same hugetlbfs mount point.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/eal_memory.c