Page MenuHomeFreeBSD

powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure
ClosedPublic

Authored by bnovkov on Thu, Jun 13, 4:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 16, 7:50 PM
Unknown Object (File)
Sun, Jun 16, 4:57 AM
Unknown Object (File)
Sat, Jun 15, 5:32 PM
Subscribers

Details

Summary

0013741 fixed an edge case invloving mlock() and superpage creation
by creating and inserting a leaf pagetable page for mlock'd superpages.
However, the code does not properly release the reference to the
pagetable page in the error handling path.
This commit fixes the issue by adding calls to 'pmap_abort_ptp'
in the error handling path.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58170
Build 55058: arc lint + arc unit