Skip to contentSkip to conversation

PPC64le memory init use mmap return EBUSY

Bug 1221 [email protected] 1 participant 1 message Apr 24, 2023

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1221

            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: [email protected]
          Reporter: [email protected]

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().

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.