| Bug ID | 1221 |
|---|---|
| Summary | PPC64le memory init use mmap return EBUSY |
| Product | DPDK |
| Version | 21.11 |
| Hardware | POWER |
| OS | Linux |
| Status | UNCONFIRMED |
| Severity | normal |
| Priority | Normal |
| Component | core |
| Assignee | dev@dpdk.org |
| Reporter | haibowu@hcdatainc.com |
| Target Milestone | --- |
When dpdk is initializing, it will first use the eal_get_virtual_area() to obtain the virtual address(pagesize is 64K), and then call the mmap() to bind the hugepage(pagesize is 16M) to the corresponding virtual address, but because the pagesize is different, it will report EBUSY in PPC64. Maybe we need use MAP_HUGETLB in the mmap parameters of eal_get_virtual_area().