HardenedBSD/sys/powerpc/aim
Bojan Novković 858ead4bce powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure
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.

Reported by: alc
Approved by: markj (mentor)
Fixes: 0013741
Differential Revision: https://reviews.freebsd.org/D45582
2024-06-16 18:19:27 +02:00
..
aim_machdep.c
locore32.S
locore64.S
locore.S
mmu_oea64.c pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
mmu_oea64.h
mmu_oea.c pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
mmu_radix.c powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure 2024-06-16 18:19:27 +02:00
moea64_native.c
mp_cpudep.c
slb.c
trap_subr32.S
trap_subr64.S