Page MenuHomeFreeBSD

powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure
ClosedPublic

Authored by bnovkov on Jun 13 2024, 4:35 PM.
Tags
None
Referenced Files
F174120101: D45582.id139811.diff
Wed, Sep 30, 6:29 PM
F174120004: D45582.id139894.diff
Wed, Sep 30, 6:28 PM
Unknown Object (File)
Fri, Sep 18, 7:35 AM
Unknown Object (File)
Fri, Sep 4, 4:40 PM
Unknown Object (File)
Aug 26 2026, 6:42 PM
Unknown Object (File)
Aug 25 2026, 7:22 PM
Unknown Object (File)
Aug 25 2026, 7:21 PM
Unknown Object (File)
Aug 22 2026, 5:25 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