HomeFreeBSD

powerpc: Improve pvo allocation code

Description

powerpc: Improve pvo allocation code

Added allocation retry loop in alloc_pvo_entry(), to wait for
memory to become available if the caller specifies the M_WAITOK flag.

Also, the loop in moa64_enter() was removed, as moea64_pvo_enter()
never returns ENOMEM. It is alloc_pvo_entry() memory allocation that
can fail and must be retried.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21035

Details

Provenance
luporlAuthored on Jul 25 2019, 3:27 PM
Parents
rG99c2d8c27d22: Workaround the build failure on platforms have lib32 after r350301
Branches
Unknown
Tags
Unknown

Event Timeline